It is true that the condition IS mandated by the state.
On the other hand, successful corporations have found that treating your employees well is a net plus for the company.
I work in healthcare, and in a free market (for qualified heathcare providers such as techs, nurses, etc) is so tight that it is a "buyers market"...They have to treat people better both in benefits and pay, or you go under. There is a valid reason union memberships have been dropping.
Of course, if the pure capitalists were allowed to collaborate on these things, that would probably change!
The transition from the old employer/employee system of capitalism is giving way to the new mandated socialism. Still have some of the old personal things in the system. Remember what they did to Henry Ford when he raised the wages so the employees could afford a Ford?