It’s not just the amount of time. The portable electronics market and the electric car market both settled on lithium batteries, which created a huge demand for that particular technology. Over the past 2 decades there has been a massive incentive to develop smaller, denser lithium batteries.
There may be interest in developing other battery technologies, but nothing like the amount of money and effort being spent on lithium batteries.