It’s automating the document review part, to be sure. Basically massive parallel grep against gigabytes or terabytes of preserved electronic documents. Paper document sleuthing (“doc review”) used to be the most common (and most reviled) work of first year associates. The first pass is now automated and so they’re doing much more valuable second-pass work now.
Tech is automating away a lot of the work being done by people currently called lawyers. Whether you think that work is "secretarial" or "actual legal work" is a matter of opinion.
I work in legal tech (AI). No, it's not automating away work, much more work is being done to increase ability to do _interesting_ and otherwise challenging work (say, more efficient research loops, so a lawyer can uncover more legal connections between documents).