Donald Trump has mocked what he said were media depictions of Elon Musk as the real power in the White House, saying attempts to drive a wedge between himself and the tech billionaire have failed.