Also companies, especially public companies, are typically mandated by law to prioritize profit.
I'm not versed in US law, and common law is quite a thing to verse for a layman. But e.g. here's a non-layman's quite clear view: https://www.wakeforestlawreview.com/2012/04/our-continuing-s...
At least in Finnish law it's very plainly clear: "The purpose of a [limited liability] company is to make profit for shareholders, unless otherwise indicated in the bylaws."
("Yhtiön toiminnan tarkoituksena on tuottaa voittoa osakkeenomistajille, jollei yhtiöjärjestyksessä määrätä toisin." Osakeyhtiölaki, luku 1 pykälä 5)
Edit: For contrast, the purpose of universities (and thus, at least in theory, university researchers) is by law to "promote free research and scientific and cultural enlightenment, give highest education based on research and raise [their] students to serve the fatherland and mankind". [pardon for some awkward to translate phrases]
You're talking about investors and shareholders like they're just machines that only ever prioritize profit. That's just obviously not true.
Most of stock is not owned by individual persons (not that there aren't individuals that don't give a shit about enslaving people), but other companies and institutions that by charter prioritize profit. E.g. Microsoft's institutional ownership is around 70%.
Probably safe to say Henry Ford had considerable power in Ford Motor Co compared most executives today?
That is not actually true, necessarily. Your power is typically very term dependent. A CEO who is also president of the board, and a majority shareholder, has far more power than a CEO who just stepped in temporarily and has only the powers provided by the by-laws.
Regardless, the solution to "I want to do something ethical that is not strictly in the company's best interest" is to make the case that it is the company's best interest. For example, "By investing in our employees we are actually prioritizing shareholder value". If you position it as "this is a move that hurts shareholders", of course that's illegal - companies have an obligation to every shareholder.
That also means that if you give your employees stock, they now have investor rights too. You can structure your company this way from the start, it's trivial and actually the norm in tech - stock is handed out to many employees.
A journalist was car bombed in broad daylight.
If you push the wrong buttons of trillion dollar corporations, they just off you can continue with business as usual.
If Microsoft sees trillions of dollars in ending all of your work, they’ll take it in a heart beat.