It's not law that corporations have to maximize shareholder value. Boards have plenty of room to balance the interests of employees, customers, communities, and long-term company health.
Dodge vs Ford Motor Co (1919).