Survival is already very cooperative effort, just today everyone's greed is sort of aligned, so the system seems to work. Even in a pure free-market with technological progress laborers will become obsolete compared to robots. (Or they would have to work for pennies otherwise it'd be more efficient to buy a robot.) Therefore we'll have to rethink the whole labor ~ consumption anyway. The classic retrain argument is a fallacy, I know, but that's not the only possible response.
ofcourse the US has large ports, but the US isn't the manufacturing economy that china is, the typical "made in china" you see on everything big ports. And it's not like US are the only ones to import all of that, thus they don't need as large ports. US economy is also focused on commercial offices/services
And then lose even more jobs. The more and more we automate, or "robotise" as you say, the less jobs there will be for humans. Unemployment will be inevitable. How will people even survive.