The promise of AI, specifically machine learning, to perform legal functions is still a ways off. These systems need to be taught how to read law, how to interpret them and finally how to make judgements.

Modern AI is REALLY good at recognizing patterns. So if you show it vast amounts of data (like cases and results) it can learn the pattern and apply it. Part of the challenge with many of these cases is that they are one offs with not precedent to guide the judges (or machine).

I suspect we still are a couple of decades away from having a robot judge.