Law firms are facing a new challenge as corporate clients are increasingly using their own in-house legal teams and AI tools to do legal work themselves, threatening the traditional growth and revenue model.