Alarmist cranks have been preaching this baloney since the 1700's.
They always ignore that someone will have to design and build the automation. And the raw materials for that automation will have to be dug out of the ground by someone. And the automation that reduces the number of jobs needed to dig the raw materials out of the ground will have to be designed by someone else and built by yet someone else again.
And so on.
We're seeing job losses now because the government is making it too expensive to hire. Investment in automation always cuts jobs where the automation is applied. That's its purpose. But in the 400 years since the Industrial Revolution began, more people have always found better work.
It's somewhat counter-intuitive, but you might call it the "growing pie" effect.
It worked very well till Obama was elected. But that's a different story.
I don’t care if a factory is automated or not AS LONG AS THE FACTORY IS IN THE USA.