According to this [0] with the current mining rates of lithium it was last us 365 years. However, given the exponential rate that technology has grown at, we will hopefully have figured a solution to this, either with different battery technology or some other way of getting lithium.
[0] https://www.greentechmedia.com/articles/read/is-there-enough...