Elon Musk’s X has agreed to pay U.S. President Donald Trump $10 million to settle a lawsuit from…