In my line of work, the recent increases in health and safety legislation and resulting costs of compliance with having personnel on site in situations where they might get harmed in any way means that the return for automating processes is HUGE even compared to five years ago.
My prediction is that we will be forced into a situation where we have millions unemployed and needing universal basic income because they were educated to be employed in a system that suddenly lost its ability to accept any risk to people....which coincided with the technological ability to automate their jobs away.
The fact that people get hurt will eliminate their ability to be a viable means of production in many industries.