Automakers’ need for EV tech has flipped a long-standing power dynamic — and these 18 battery outfits are reaping the benefits