This comparison is invalid. Training a neural network algorithm is not equivalent to human learning. We are talking about data stored in machine learning models owned and controlled by multi-billion dollar corporations.
It has already been demonstrated multiple times that original training data can be reproduced completely from models, so yes, they are data storage systems. When they reproduce code which they have previously stored, even only in part, that is a derivative work. Adding extra steps to the transcribing process doesn't make it any less a copy of the original.