The court overturned two earlier decisions and threw out parts of a 63-year-old law that said companies and unions can be prohibited from spending to produce and run their own campaign ads. The decision threatens similar limits imposed by 24 states.