Apple shares have a long history of outperforming the market. Wall Street's concerns about Apple's lagging position in the AI race appear to have eased.