I don’t think it is capitalism that is causing that. It is the idea of maximising shareholder value that the American economist Milton Freedman injected into the minds of political and corporate America.
I live in a capitalist country with, in law codified, employee protections including a minimum of paid time off. In addition to that, a strong union that keeps companies in check.
Capitalism works if the rules balance the power of the workers and the capitalist accordingly. But Freedman had other ideas and those are bad for everyone except a few rich guys.