You have it backwards. Keeping factories in the USA with ostensibly “expensive” labor hastens automation. Off shoring so an army of gooks make product manually does not.
We make NEW products.
You are arguing against the Export Cycle:
1 A new product is created;
2 the technology is perfected and rationalized here and prices and production are maxed out;
3 the product is exported;
4 companies in the export receiving country figure out they can produce the product with a lower price;
5 that product ceases to be produced where it was initially created BECAUSE OF MARKET FORCES.
Process starts all over.
We need to foster CREATIVITY not protect obsolescence. That is the well-spring of expanding the economic life.