This is ironic as it's the perpetuating of this myth by people like you that sustains this mindset. And I get that you're not intentionally doing it at all, it comes from a place of misunderstanding. But it's incredibly harmful.
To be very clear:
Companies absolutely do not have any responsibility to maximize short-term profit.
They have a responsibility to not actively and intentionally destroy the company, and to not use the company's resources for purely personal gain in a way unrelated to the company.
That's it.
This is also why you never hear about any company getting sued for anything related to this (let alone succesfully). Because it doesn't happen, as it's not a thing and any lawyer would immediately tell you you don't have a case.