Almost half of the largest law firms in London are expecting to see job cuts as a result of the increasing use of artificial intelligence (AI) technology, according to new research.