There is a finite amount of gold and it’s a lot less likely to stop being useful in the future for many many high tech uses.
https://aidaily.co.uk/articles/artificial-intelligence-and-s...
Also, we can talk about this again in 30 years or so when we actually have mining products return from space, how much do you want to bet that Bitcoin is still relevant in 30 years?