Earlier quoted context omitted.
Li-ion batteries don't contain rare earths. Recycling li-ion is currently a booming business because it requires much less energy than processing raw ores - see Redwood Materials for more info. Everyone takes these calculations into account because batteries come under intense scrutiny from people with ulterior motives.
I can't wrap my head around how much lithium or other rare earth metals will need to be mined to transition entirely to solar, wind, and electric cars. What countries are these mined in? What percentage of the US grid is from wind or solar? Like 10%?
Electric cars use lithium, just now, and a bit of rare-earths. (They are used in wiper and window motors.) Cars are their own thing, which we would be better off with less of.
Obviously before you have built out wind and solar, you don't have much yet. It is a vacuous observation. Instead, look at the rate of deployment, which follows a classic exponential curve.