Investment firms have committed hundreds of millions of dollars to startups developing so-called long-duration batteries