CNN's parent company, Warner Bros. Discovery, has been ordered by a judge to turn over financial documents in a defamation suit.