US President Donald Trump unveiled sweeping bans on Chinese-owned apps TikTok and WeChat in a major escalation of tensions with Beijing.