AI and Climate Change: A Double-Edged Sword