Mr. Musk has recently angered Europe with repeated insults of the continent's leaders and his open support for the far-right German AfD party ahead of elections next month.