The suit alleges that the record labels improperly allowed AI companies to use musicians' recordings for AI training without compensation.