Engineers are working on systems that can turn lunar regolith into useful elements like oxygen.