For more than a century, law students have run themselves ragged trying to pass the written bar exam. Last week, artificial intelligence did it without a struggle.