The contracts, announced on Tuesday, are part of the space agency’s efforts to establish a moon base.