A senior administration official said Elon Musk "left on good terms and is still friends" with President Trump.