What if Andy Warhol used an AI art prompt to describe and tweak his vision for how he could alter soup cans to make a statement and the output ended up exactly the same which he then transferred to canvas via a printer? Would that then make it not art?
The technical question of "Is it art?" really doesn't interest me - which is why I didn't raise it. I am especially uninterested in it in the hypothetical, so don't expect me to engage with that.
But, let's consider other things Andy Warhol might do that could influence my thoughts on his work...
What if Andy Warhol used brushes made with poached elephant ivory and rhino horn for handles, and got lion's mane bristles from big game hunters?
What if Andy Warhol used pigments that were strip-mined out of river banks in the Amazon watershed, or inks harvested from endangered and highly intelligent octopi?
What if, for his studio, Andy Warhol purchased a large block of affordable housing, evicted the residents, razed the building, and replaced it with a single luxury building requiring rainforest-level water use in the Nevada desert?
If, in the process of the work, the worker knowingly makes extensive use of unethically-produced tools, it seems fair to look less positively upon those works thus produced. Being an ethical consumer is hard, but that doesn't mean I shouldn't make good choices when I can.
If the work (art or not) in its production tells us, "I, the maker, am not interested in the harm I am doing," why should I be interested in the work?