Tech companies are developing a host of cutting-edge innovations to address environmental problems.