The layoffs in Arizona follow NASA's decision to construct a moon base instead of a lunar space station. The shift reshaped billions of dollars in contracts.