The title isn’t accurate, so I can’t assume it is.
Fiat currency works precisely because the planet is finite. What you’re thinking of is a currency that’s tied to a finite resource, like a gold standard. Fiat currency works precisely because monetary supply is able to be increased to keep pace with both the population and economic growth. Likewise, fiat currency can be removed from the economy when the economy shrinks (although this hasn’t happened before).