US President Donald Trump has given the Chinese owners of WeChat and TikTok 45 days to sell up or see the platforms banned in the US.