‘The legal profession needs to embrace AI’