The lawsuit alleges that Amazon bypassed YouTube protections to collect content for its generative AI video system.