The company, which leases out residential batteries as well as sells energy, is betting that it can profit from a new ...