It can be in the company's interest to act for the good of society and a CEO can claim that it is his fudiciary duty to act in the interest of society.
But when society's interests are in direct conflict with the interests of the company you cannot expect a CEO to act in the interest of society.
Even if a CEO is perfectly within their rights to act against the interests of the company, it doesn't change the fact that investors might replace him if the CEO does so consistently.
What do you expect to happen in such a system?
Regulation is not done with the purpose of preventing companies from profits. It is done because companies cannot be expected to act in society’s best interest, so society has to make demands of companies, ie regulation.
Do you realize how insane this sounds?
If a CEO consistently passes up large profits to protect society then investors will attempt to put a new CEO in charge.
1. At least in our case. And China in its case, and Europe in theirs, and Russia in Russia’s.
We had anarchy, people decide they could do better, iterated, and came up with this.