Brand publishers grapple with legal questions around AI-generated content