There is an infinite supply of computer algorithms. Gold is an element.
The only thing that separates BTC from all the derivative shitcoins is hype and stories we tell about it. Bitcoin is itself interchangeable with an infinite number of related algorithms/schemes.
Gold extraction definitely has its problems, but it's a fundamental element of the universe.
In 100 years, I know which one will definitely still hold value.