The European Commission has banned its staff from using TikTok on their work phones, saying the move aimed to protect it against cyberattacks amid fears Beijing is harvesting data to focus on political targets.