Meanwhile, other nations have a more flexible workforce that are cheaper to pay for roughly the same productivity in many cases.
Unfortunately there is no easy solution for this problem. For the people located in areas where jobs have entirely vanished you would have to relocate the population but that goes against the dream. You could cut regulations in order to entice companies to come back, but then you're selling the lives and well-being of the American people for jobs that Americans might not even do (see: labor shortages in the farm industries).
America will need to find a way to handle this and fast as automated cars enter the market and cut another huge swathe out of the market. The difference there though is that you can't blame other races or countries for taking your jobs.