A port is a slot for ships. Really big ships requires really big slots. The biggest modern ships are over 500 meters long. And dry docks require you to float the ship in, then seal it in and be able to drain the water out - given that those ships are ~50m wide, you’re talking about a huge construction project just to serve one ship at any given time. Turnaround for ships can be hours or days, so you might want multiple bays.
It might well be cheaper, to just have a small ship with a crane or something. Then you don’t need to build a 500mx50m swimming pool. In imperial, that’s 20 olympic swimming pools.
They don’t, if you buy games that came out 5+ years ago. This doesn’t contradict your point, but it can mitigate it somewhat.