Maybe a bit of both :) I think it's more common these days to find programmers who've never used pointers before. Arguably that's a loss for them, especially when their mental model of how memory works starts to get leaky.
But I think people will also learn tons too. At the end of the day, most people learn by example. If you can see what the AI does to your code or suggests as a completion, you will learn best practices faster.
I've learned a lot from linters. Maybe this would be the next level up in linting, if it offers an assessment as it rearranges your code. I'd definitely use something like that to improve my coding skills.
But I think people will also learn tons too. At the end of the day, most people learn by example. If you can see what the AI does to your code or suggests as a completion, you will learn best practices faster.