The online retail giant has begun handling shipment of goods by ocean to its U.S. warehouses from Chinese merchants selling on its sitetaking on a role it previously left to global freight-transportation companies.