The logistics giant posted improved earnings but warned that Trump tariff uncertainty and inflation could weigh on global freight volumes.