Sometime in the 2040s, humans may well reach a new frontier—Mars. To get there, we'll need sustainable sources of food, medicines and materials.