"Why aren't American companies doing this work?"
Because for one reason or another they've decided they don't want to be in this business. There are only four major port-management companies in the world - all foreign - and two of them won't manage port terminals in the US because it's too much of a hassle dealing with the longshoremen's union.