Capitalists can value the long term advantages of having a fairly compensated and happy workforce. A company might be able to gain a short term benefit by mistreating or underpaying workers, but in a properly regulated capitalist system this will lead to public backlash, regulatory attention, corruption, and ultimately employees leaving for competitors.
Capitalist markets, even when thinking through the long term, don't work like that. A lot of costs of messing with employees are externalized. If I lay off my workforce after a product ships, issue stock options worth 10 cents, or otherwise, the result is a lack of trust in tech management as a whole.
The direct blowback on the individual company is pretty small. Would you ever find out if a manager you were interviewing with had done that? Or a startup?
The US was more efficient when companies treated employees better, and when companies were like a community who took care of each other. But, as an individual manager, and even more so as a company, I come out ahead if I treat employees more aggressively.
Better transparency would help. If employees could see company financials, it would solve a world of hurts. The information asymmetry is a lot of what leads to inefficient markets here.