The AI company just trains their models on that and aren't creating derivative work in the legal sense.
"We didn't license it to them for the express purpose of training your model on this data, we only gave them database access for the express purpose of training their model on this data."
"We didn't license it to them for the express purpose of training your model on this data, we only gave them database access for the express purpose of training their model on this data."