This article lacks any real evidence they're ahead though, which is essentially equivalent to "behind" if (a) the majority of the advances are democratized by your competitors and (b) you lack the ability to attract top tier talent. If AI/ML is an existential threat to Apple, then this article doesn't provide any comfort beyond being a PR puff piece.
The talent war for AI/ML is truly insane. Given that the top researchers and engineers can get similar benefits at other entities, whilst also continuing to publish code and research out in the open, Apple aren't that attractive.
They may try compensating for this via acquisitions but that still leaves a fundamental issue when it comes to long term retention.
As I mentioned before, this is a fairly universal trait. Many come from academia or have open source affiliations / rely on open source tools for their skill set, so the idea of putting their ideas out there to be used, ...