As advances in artificial intelligence and machine learning reshape the legal industry, more companies are leveraging technology to carve out niche spaces in the market.