Gold isn't being treated all that differently to the other period 6 or 11 elements. Although it does sometimes get randomly good tax treatment due to its history which keeps it entrenched as the first choice for a monetary metal. But fundamentally it is being sold at cost to mine + a margin, same as everything else. My memory is anything with similar properties to gold has a similar price. The bulk of its value comes from nobody being able to produce the stuff for much less than $50k/kg US.
If history was erased, the price of gold would go down a bit because demand drops, but it would still be somewhere similar to $50k/kg US - to a first approximation people can't produce gold more cheaply than that. The price might even go up if the cheap producers are big bulk-mining operations.