No, the OP is repeating a common misconception. Corporate law sets out a number of fiduciary duties, including to act in the best interest of the shareholders but “maximising shareholder value” is not one of them.
The idea that companies should “maximise shareholder value” is a key ideal of some political/economic ideologies (especially what people describe as ‘neoliberalism’) but it’s not law.