Investors fret after the Chinese government lets its currency depreciate, prompting rebuke from Trump