U.S. companies that rely on East and Gulf Coast seaports have been importing early, shifting goods to the West Coast, and even putting cargo on pricey flights to hedge against a threatened Oct. 1 strike that could jam supply chains and reignite inflation ahead of the U.S. presidential election.