Thomson Reuters has won a major copyright victory as a judge ruled that a competitor using its work to train an AI tool was not fair use.