Companies arent doing this gratis. Someone has made them offers they cant/wont refuse.
The people running them are flaming crony capitalist progs, bur even they have boards and shareholders who will care more about the bottom line.
There are quid pro quos involved. Follow the money. Find the bribes.