You need to follow that chain of thought a little further. The unfortunate weak spot in a capitalist economy is that it's basically a Darwinistic system where the fittest survive, and "fit" means willing to do anything to make a dollar. Morals therefore become a weakness, and those who are guided by morals will be stomped out by those who don't really care. The guardrails are made of laws, not morals, and those who make the laws are often benefiting from the status quo. Like it or not, this is the jungle we find ourselves in.
damn.
The guardrails that work are made of brand awareness and reputation.
Laws are there to stop the company from harms that are too severe for waiting for people to suffer them and from harms to third parties that don't get a say on the decision.
Both of those kinds seem to be completely broken nowadays, everywhere. Getting the law back into working form seems easier, but it's not a viable alternative for most of the things you'll want companies to have morals about.
That's why Merlin says honesty is the most important virtue.