I think a big thing about AI with Apple is the fact that their stance on privacy makes it a bit harder to compete with the harvested data sets of Google. From what I understand though, according to the reactions on the papers they released a bit back, they're not doing so poorly.
That being said, and I've never used Cortana or Alexa, but I hear they're pretty decent compared to Siri.