As legal technology has grown to be a necessity rather than a luxury over the past decade, a handful of law firms have invested in legal tech startups, hoping to get an early peek at new tools and staying in the know.