Stem Inc., a provider of energy-storage technology, is offering battery systems to commercial and industrial customers with no upfront costs by adapting a financing model that’s accelerated the installation of rooftop solar panels.