AI 'carries risks' but will help tackle global heating, says UN's climate chief