Such predictions have an abysmal historic track record, because we tend to find workarounds both on the supply side (=> previously undiscovered reserves) as well as flexibility on the demand side (using substitutes).
This applies historically for oil, lithium, rare earth metals and basically everything else.
edit: I'm not saying we're never gonna run out of anything-- I'm just saying to not expect sudden, cataclysmic shortages in general, but instead steadily rising prices and a somewhat smoothish transition to alternatives.