It is absolutely not the same, and saying so disregards centuries of knowledge stratification.
These machine produce superficial artifacts that lack any layering of meaning of semantic capital (see Luciano Floridi).
They are the byproduct of the engineering extremism and lack of humanities knowledge of the people getting rich through their creation.
Models learn exactly like artists, and also, for some reason, the person that uses those models are artists making art. Wait… Artists learn by passively ingesting many millions pieces of media someone feeds them for the non-specific purpose of “generating art” so some person who wants to take credit for making the end piece can tell them exactly what to make, right?