Foreign shipping companies that dominate seaborne trade draw bipartisan criticism as U.S. ports grind to a halt.