I believe code is a uniquely dangerous deployment site for "AI", because in programming, the most dangerous thing is code which is almost correct. The human brain has a significant tendency toward seeing what it expects to see and a person can sometimes look directly at something that's mostly correct but wrong without noticing it.
However, creating this almost correct code is exactly what "AI" is best at. The purpose of the content generators people now call "AI" is to create something which can plausibly fool a human into believing they are looking at a real picture, real paragraph of text, or real computer program code. So Copilot might as well be designed to generate bugs a human cannot catch.
Moreover, computer programs are chaotic systems where bad code in one place might break an invariant and cause bad behavior for the entire program. This means use of "AI" for code is much worse than other uses.