It’s becoming clear that artificial intelligence can automate much of legal work. That has recovering lawyers and software engineers racing to sell tech solutions to law firms and in-house legal teams.But the less obvious, and more challenging, move may be to build companies that compete head-on with law firms.This idea…