Perhaps it would have been a good move for Apple investors to trade their Apple shares for gold at the start of the year, yeah Apple has outperformed gold over the decades, but gold has outperformed Apple YTD, Apple is currently in correction territory dropping by a bit more than 10% YTD, while gold has gained a bit more than 10% YTD.
Here is a monthly comparison, cannot get a YTD chart on trading economics, and can only compare to ETFs on Yahoo Finance. Anyways, again this chart shows gold outperforming Apple in recent times.