Tech companies are building data centers with their own private power plants, a risky bet that will increase carbon emissions and other pollution.