The combined entity would sell solar panels, home battery storage systems and electric cars under a single brand.