Some things are valuable because of their inherent utility. Soliris (which has the distinction of being one of the world's most expensive drugs) is valuable because it has obvious utility: it treats medical conditions and saves lives. Even if it has inherent value for things like electronics or tooth fillings (it has inherent value for jewelry too, but a large part of why we use it in jewelry is
because of its high price), gold is mainly seen as valuable because everyone seems to agree that it's valuable. Even if I live in a culture that doesn't particularly value gold, I know that it has a high market value and I can trade it for things that I
do value.
Still, is extremely valuable and has been extremely valuable for hundreds of years. It's got the added benefit of being something that people can show off to display their wealth. Even if it's arbitrary why we value gold in the first place (I think aliens looking at our society would find our gold obsession strange), it's probably not going anywhere as a store of wealth. If I buy gold today, unless Armageddon happens, it's very very likely that it will still be highly valuable in 10 years times.
Bitcoin might be valuable in ten years, but like many manias in the past (for example, tulips in 1637 Holland), its value will probably fade at some point unless it has some inherent usefulness as a medium of trade for other useful goods. Gold might eventually lose it's value as well, but it's been artificially inflated for millennia so I'm not betting on it collapsing anytime soon.