Well, she's not exactly a giant container ship, she's a rather modest sized one, judging from a couple of photos that I've seen of her...
However, in retrospect (with full 20/20 hindsight)... given that large ships are moored at a dock right next to the tower, it seems like it might have been wise to build a barrier around the building to protect against such events such as this (especially given the tight quarters... looking at the satellite image of that bay, and seeing that one could barely turn a ship around at the opening by that tower... it's very scary looking!!)