With AI taking over their grunt work, lawyers and other professionals may have to charge for outcomes rather than time spent