"Elon is a great friend of Israel," Netanyahu wrote, adding that Musk had visited Israel following the October 7 massacre.