How artificial intelligence is already shaking up the legal