As Tesla’s possible purchase of SolarCity shows, carmakers want to get into the energy storage business. BMW, Mercedes-Benz and Nissan are all working on home batteries that integrate electric vehicles into residential power systems. The vision is for homeowners to charge up batteries from solar panels during the day, and then charge up their cars at night while EVs are sitting in the garage. Or, as one French company sees it, the transfer could also…