Assuming you aren’t being purposefully obtuse, the answer is to make them safe and suitable environments for people to work in. You can figure out a way to punish the company who is creating these conditions, but for the time being, the answer is to make them reasonable to work in.
So the answer provided is no answer at all? We need to close any factory that operates with cruelty. There is no acception to be made.
Assuming you aren’t being purposefully obtuse, the answer is to make them safe and suitable environments for people to work in. You can figure out a way to punish the company who is creating these conditions, but for the time being, the answer is to make them reasonable to work in.