Artificial intelligence (AI) is virtually everywhere. But forget about Alexa, self-driving cars and those pesky pop-up ads that follow you around the Internet. Think litigation tools.

As the legal profession adapts to changes in the marketplace—from evolving technology to a declining demand for services and competition from a growing number of non-traditional legal providers—more law firms are looking for alternative ways of doing business.