Tariff hikes together with a new law taxing foreign corporations have shaken investor trust in the greenback.