The damage was widespread as investors showed their displeasure with Trump’s tough words for U.S. allies