The impact of AI on the legal industry