Carmakers and battery companies facing a weak US market for electric vehicles are scrambling to repurpose battery factories to make energy-storage systems to fuel AI’s thirst for power instead. But ...