Elon Musk is convinced he will build a city of a million people on Mars by 2050 at a cost of up to $10bn a person.