Larger investors are starting to buy up the debt behind loans to homeowners who want to reduce their dependence on vulnerable electric grids.