Apple’s top executive in charge of artificial intelligence models is leaving for Meta Platforms, another setback in the iPhone maker’s…