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.
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.