So yes, increasing shareholder value is enshrined in US law. Only private corporations can get around that rule.
This is true, with one exception.
There are non-profit corporations. They have to declare that they are non-profit at the time of foundation, though. They have to write that in the statute (idk what it’s called in English, it’s “Satzung” in German).
Best thing not to have a coffee machine then.