With U.S. tariffs on more than 80 countries set to take effect on Wednesday, companies around the world raced to load containers onto ships before the midnight deadline.