SpaceX will build a lander that the US space agency will use to return humans to the Moon this decade.