As artificial intelligence reshapes how businesses operate, legal departments are increasingly pressing their outside counsel to deliver work at a faster pace, according to a new study.