Gold, often regarded as a safe-haven investment during periods of economic or geopolitical instability, soared to a record peak of $2,817.23 on Friday