Technology mogul Elon Musk has been using his X social media platform in recent weeks to unleash a torrent of criticisms and accusations aimed at political figures in Britain, Germany and Canada.