Low interest rates are another culprit that few seem to identify. If that robot purchase can be financed with a 0.5% loan then it is suddenly very cost efficient to replace workers.
There are other factors that come into play as well like overtime pay rules, medical costs/regulations for workers etc.