This solar-powered device produces energy and cleans water at the same time Still a prototype, the machine could one day help curb electricity and freshwater shortages