Energy startups have overtaken the makers of electric cars and batteries as the top global climate tech investment for the first time since 2020. They’ve done so as the growing demand for artificial intelligence has driven interest in technologies that …