British government ministers have been banned from using Chinese-owned social media app TikTok on their work phones and devices on security grounds.