Solar city was basically a series of acquisitions. It ended up being bailed out through the Tesla acquisition but once Musk bailed out his own Solar city stock/bonds he gutted the Tesla Energy (Solar City rebrand) branch and basically pretended that it never existed in the first place. The solar roof was just some hyped up product to get the acquisition through.