Donald Trump has pushed out the chief saboteur of his relationship with Elon Musk from the White House.