AI can cut emissions and boost renewables, but also helps fossil fuels