Elon Musk has turned a long-running joke about being an extraterrestrial into a central part of his public persona, even as he argues that humanity may be the only intelligent life in the universe.