Danish conglomerate A.P. Moller-Maersk A/S says it has acquired a German container shipping company that is ranked as the world's seventh largest container line.