The UK will ban the use of TikTok on government devices due to concerns about the Chinese-owned app's handling of user data.