Resource depletion is not a binary fact. As a resource gets rarer and rarer, it will require costlier, more unsustainable methods to extract and process. At what point a resource stops being cost-effective is something which will be determined by the market.