An aluminum cargo container, built more than 15 years ago to move large equipment to space, will be transformed into a prototype of a space habitat where astronauts would live during long missions.