Chief Executive Elon Musk’s announcement on Thursday that the electric vehicle maker would close “many” of its stores around the world to sell cars online-only removes the only retail outlet for solar sales since Musk pulled the plug on a partnership with Home Depot last June.