you seem to be implying that, to compete with automation, humans should be willing to be treated like dirt.
- no, I am implying that the cost of litigation is a consideration for any employer *regardless of the merits*. Anybody can sue anybody else if there is merit, that's one thing, however the labour laws make it too easy for an employee to sue an employer for things like 'wrongful termination' and that's a garbage claim. Same with 'human rights' related lawsuits, there is no such thing as a 'human right to work', human rights are protections against government oppression, not entitlements for the employees and obligations upon the employers, yet that's exactly what 'human rights' lawsuits against employers are: they didn't do something the government puts an obligation on them to do, to satisfy an entitlement that the government deems an employee is supposed to receive from an employer.
Being treated like dirt is one thing, and nobody has to work for an employer who treats people like dirt, being provided government entitlements because an employee and employer are working together is something else, that's one of the 3 main reasons why I outsource most of my development to a different country.