This type of technology could help cities and companies manage plastic waste while producing a useful fuel at the same time.