anyone that thinks automation is dangerous or poor is rather simple in my opinion. Mass production with high quality robotics and machinery boosts economy. Also, it doesn't negate the need of people, people will have more time to innovate, improve, learn, develop, and removes the need for human interfacing with manufacturing which causes variations. You will still need human beings to check the processes, check the machinery, maintain it, develop enhancements etc...
It's like you get this crap straight from your operations year 1 textbook, it doesn't work like that in industry, they sack off people and use it as costsaving. A company won't pay line staff to "innovate, improve, learn, develop" this isn't some new age lab experiment, this is the real world.
A boost to the economy is pointless if wider society is paying the cost, and currently a lot of "boosts" to the economy are just this, wealth funnelling to the rich. And ultimately, robotics and heavily automation only work for high volume, low variation operations.
Some things will also always need human intervention. Talking about railways, the number of interventions (inspections) needed on the lines is massive, and causes disruptions to services, and is also dangerous - why not use automatic sensors to detect things and then (only then) send someone in to fix the problem, upskilling those people to analyse the data being reported back from the sensors and learning to forecast, plan and improve maintenance thus minimising the disruption to rail lines.
Because it would be expensive and restrictive, transport is too dynamic an industry for that
People are too comfy doing their jobs and not pushing themselves - automation is great and minimises the human element - but doesn't negate the need for humans at all - it just changes the scope of the work needed.
Robotics replace jobs, if you think companies are going to get robots to do 20 peoples jobs and keep them all on to fanny about running the machines, you're very much mistaken. You rely on the assumption everyone is career driven, and in a wider society, many people are not.