Agreed. I think that battery production, unlike solar panel production, will be highly incentivized today be local. Batteries are very heavy in kg/€ compared to other products.
There are big advantages to keeping this somewhat local. Shipping batteries over seas or cross continent, after the raw materials have also been shopped long distances, will likely be economically inefficient.
I also wonder if batteries can be commoditised the same way solar panels have been. Battery chemistry and manufacturing processes seem to be much more complex than solar panels, additionally there seems to be significantly more trade offs to be made by car manufacturers, than solar panel installers.
I think that they will eventually become components not unlike current solar panels and inverters. I wouldn't underestimate the complexity of solar panels, there's massive continuous innovation just as there is with batteries.
There are big advantages to keeping this somewhat local. Shipping batteries over seas or cross continent, after the raw materials have also been shopped long distances, will likely be economically inefficient.