We very rarely need specific minerals. We need energy, nutrition, conducting materials etc. Most of these needs we can fulfil with many different minerals. And the amlunt of all [1] minerals in earths crust is staggering compared to any foreseeable futre, so we are just going to flip to whatever is easiest/cheapest to dig. None will "run out" as in there is no more available, only that the remaining ones are too expensive to extract at the moment.
[1] Helium may be one of the exceptions here, but I would guess even that is produceable with some future nucleaf technology given enough money.
[1] Helium may be one of the exceptions here, but I would guess even that is produceable with some future nucleaf technology given enough money.