A two-year-old battery startup just hit $13bn by turning American homes into grid capacity.