It's probably worthwhile to compare this to calculators and mental math skills.
To a certain extent, yes absolutely. If you programmed more yourself, you'd be better at programming than the version of you that spends any significant amount of time generating AI code.
But that doesn't mean you'll totally atrophy the skill and magically forget your fundamentals.