Whether it's a legal requirement or not, companies definitely act as if it is. Setting a company on fire to acquire short-term profits with a golden parachute guarantee is the pattern for executives of public companies under American capitalism.
Oh let me be perfectly clear here, I know that that is how things often shake out, especially in the US. What I am talking about is the way people defend businesses that behave this way.
They act as if they have no choice, that there is some legal mandate to just wring out a company all day every day and damn all consideration beyond “I can make another dollar this second.”