Musk's about-face on Nigel Farage demonstrates that he is a 'precarious' ally, but his influence on the Trump White House makes fending off his attacks a delicate business