Apple issued an urgent security patch for its operating systems, citing the accelerating threat of AI being used to reverse-engineer software vulnerabilities.