Musk, the world’s richest man, has become a towering figure in Trump’s orbit, ungovernable by the White House chief of staff.