IT doesn't but it does mean the days of anybody being able to prospect for gold are long gone. you'll always be able to get more of almost any physical resource, but the notion of Peak ____ is economic rather than purely physical.
Actually, total available gold is quite finite, as are resources of other minerals. I looked into this a few weeks ago.
All the gold mined in all human history amounts to about 175,000 metric tons, or 386 million pounds. And there's 7.3 billion of us humans.
That works out to about 24 grams of gold per person, or 0.84 standard ounces (0.77 troy ounces). At present rates of about $1,200 per ounce ($1,187.47 as I write this), it'd be worth slightly less than $1,000.
For copper, it's a kilo or two.
For numerous minerals and natural resources, remaining supplies range from a few years (antimony, 8), to a few decades (aluminium, 80 years).