Analyst Dan Ives says Tim Cook's exit as Apple CEO raises questions amid the company's major AI strategy push, calling the timing a surprise move.