Hence why CEOs and Board of Directors will optimize for shareholders interests above customers/employees/society. Because if they don't, they will get fired and get replaced with someone else who does. This is textbook Evolution and Natural Selection.
If we aren't happy with the way corporations are paying their employees, the solution has to come from outside the corporations. Demand that your government increase the minimum wage, increase the capital gains tax rates, raise tax rates for the 0.1%, and use the proceeds to fund basic income or a better social safety net. he private sector does a great job of generating wealth, but don't ever expect it to distribute it fairly.