This is true of almost any field - if we have black-box technology that only the AI can understand / fix / augment / extend, then we will lose the ability for humans to learn and understand that tech.
Its similar to outsourcing manufacturing, you lose the ability to manufacture. If you don't exercise a muscle, it atrophies. If some people dont learn to write code [ or do math or write music or books ] the hard slow way, we will lose that deep skill.
If young people don't grapple with hard problems in science, math, economics, creative writing, drawing, music making .. they will not be trained, their cognitive skills will not develop with use. We will have no doctors or engineers or musicians or lawyers in a decade or two.
We don't want to become a race of fatties who never exercise, or dummies who just scroll social media feeds without exercising their minds.
This is real.