A judge ruled in favour of Thomson Reuters, saying that a law firm's use of their legal content to train an artificial intelligence model went against US copyright laws.