I dont see it as a contradiction. Apple knows its core competencies and has the cash to back to any initiative worth pursuing through acquisition and/or hiring. Cook was a savant at vertically integrating supply the supply chain and horizontally integrating the entire ecosystem. This led to multiple innovations where Apple is the de facto standard for quality.
The silicon behind Apple devices were worth owning and controlling but beyond that he may not have seen how Apples goes 0->1 for AI hence the idea to partner with other leaders. Apple did this for the mobile Web Browser so why not for AI as well. Let others subsidize those capabilities and make consumers/end users prefer Apple devices where it can actually shine.
Let Apple fast follow while others subsidize the R&D and validate the demand. That's what has allowed Apple to always end up on top.