Elon Musk said that Space X's Starship rocket would leave for Mars at the end of next year with Tesla's humanoid robot Optimus onboard.