These comparisons are almost meaningless - e.g. Apple is worth about the same as Korea's stockmarket, almost as much as China's.
Yeah, Saudi Aramco 2005 is still worth more than Apple right now.. but oil has fallen so maybe this has changed.
Apple is not worth anywhere near as much as China's stock market however. The Shanghai Stock Exchange all by itself is worth several trillion dollars.