Ships are getting bigger and bigger not because of "globalization", it is all down to physics and fuel costs.
Imagine a ship with length L. The hold volume ~ L^3, the drag area of the hull goes with L^2. Double the ship size, holding everything else constant, you move twice as much cargo volume for the same fuel.
Things get even better if you go for really, really big ships going at slow speed. Fuel burn goes with velocity cubed V^3, so for a given ship, if you half the velocity, your fuel burn per unit volume of cargo is reduced to 1/8th of that at the original velocity.
Physics and fuel economics is pushing the industry to use massive, slow container ships. Another cost benefit is that having fewer, bigger ships means paying less crew for the entire fleet.
These savings will have to be balanced with the insurance and security costs associated with a single vessel containing such a massive quantity of valuable goods, but "globalization" isn't the prime motivator.