Apple CEO Tim Cook told analysts that AI adoption has happened faster than expected.