Elon Musk joined Donald Trump for dinner during the weekend that the White House announced a US military operation in Venezuela.