The workers who designed and built the machines are skilled. Inefficient jobs are replaced with with new jobs not necessarily in the same industry.
And the question stands, what to do with those workers? Move them to the facility that builds the robots that displaced them, in a loop?
That said, I do not oppose the replacement of workers with robots in any way, as that would be artificially trying to stop the progress of mankind. But what happens to the workers is a serious issue. What are all the people from the closed American car factories doing?
Then that's design and engineering, and not strictly manufacturing. Which is what I'm arguing for.