Solving environmental problems usually just means cleaning up the mess people have made. But scientists are increasingly interested in creating something valuable from pollution.