There has been a lot of hype surrounding artificial intelligence, and AI stocks have helped propel the stock market to record highs. Meanwhile, gold stocks have quietly outperformed AI chip stocks.