It was always going to be tough for the world's container shipping lines – accustomed to decade after decade of growth in the volume of video game consoles, auto parts, furniture, frozen seafood and all manner of other things transported in boxes across the sea – to adjust to a slowdown in global trade.