Peers vote to defy government over copyright threat from AI