The Maersk shipping line has signed a contract worth up to nearly US$6bn to build up to 30 huge container vessels with Korea's Daewoo Shipbuilding & Marine Engineering.