robots are taking over fast food jobs too
Should they give back money to keep their jobs?
Would horseshoe makers have kept their jobs if they weren’t so darn overpaid?
Obsolescence is a different problem. Your example is more like newspapers not being able to survive Craigslist no matter how much they dropped their ad rates.
But we will still need to load and unload ships, it’s just a matter of how it’s done. And as the cost of capital (automation/robots/AI) falls while the cost of human labor rises, you will get more automation/robots. That’s just basic economics.