The euro and the Japanese yen soared against the dollar on Thursday, as investors grappled with how US President Donald Trump's far-reaching tariffs will impact global trade and economic growth.