US President Donald Trump said he would proceed with planned tariffs on Canada, Mexico and China, causing a broad sell-off in US stock markets.