You can't ask an AI to do that either. I mean, you physically can, but it would be the same thing as copying and pasting a wikipedia article verbatim into your essay.
What I mean is, people do actually do this with LLMs, but most assignments do not map 1:1 to a Wikipedia article you can copy (certainly programming tasks don't). Or to put it differently, it's relatively trivial to formulate assignments for which a blind Wikipedia copy & paste wouldn't be applicable; in contrast to the LLM case.