Elon Musk has privately discussed with allies how Sir Keir Starmer could be removed as UK prime minister before the next general election, according to people briefed on the matter.