Could your next lawyer be a robot? Tech firms making case for artificial intelligence