Elon Musk has warned that life on Mars will be "dangerous" at first but is convinced that exploring the red planet will have great rewards.