Installers, financiers, and lease providers put solar panels and home batteries on rooftops, selling through cash sales, loans, leases, and PPAs.