This company has invented a sustainable way to extract critical metals