It didn’t take Congress or the president to force these changes. It wasn’t the courts (though lawsuits are pending). We didn’t need a new law or regulation. It was the pressure brought by individual consumers and investors acting on their preferences (and self-interest) in a free market.
This is hardly the first time that companies have had to respond to consumers pressure. From both right and left, consumer boycotts, bad media, and shareholder activism have forced companies to improve workers’ rights, product safety, political bias, the treatment of women and minorities, and more. Neither conservatives nor liberals will always agree with the purpose of such campaigns, but no one can deny that they work. Abuse your customers, they won’t buy from you. Abuse your employees, they won’t work for you. Produce a lousy product, someone else will produce a better one and put you out of business. That’s the power of free-market competition. Produce a lousy product, someone else will produce a better one. That’s the power of free-market competition.
Compare this to how government responds when it fails. We are still waiting for the Veterans Administration to change its behavior or punish those responsible for its various scandals over many years. The public schools fail year after year, decade after decade, and their response is to demand more money and try to prevent parents from going elsewhere.