Apple looks behind in AI. History says don’t count it out.