A new study shows that many leading AI models can pass what is known as one of the most difficult exams in finance.