A new device capable of turning desalination waste into commercially valuable chemicals could make the process cheaper and more environmentally friendly