We’ve already seen this over the past decade. I was skeptical of electric vehicles when I first started learning about Teslas because at the time there was something like 2/3s of the lithium available for mining compared to what would be needed to replace every vehicle on Earth with an EV.
But since then new lithium mining techniques have opened up new sources (I think the southeast US has a large amount of these newly accessible sources), increasing the raw amount available. Sodium ion batteries have made strides, and while they aren’t as energy dense stationary batteries can use that while vehicles use lithium, reducing overall lithium demand. And who knows, sodium ion batteries could still reach a point where they are viable for vehicle batteries. And of course lithium batteries have improved as well, making available lithium stretch farther.