The nonprofit behind the SAT and AP exams suffered a cyberattack involving hackers using “sophisticated AI tools.”