Since I retired I use virtual keyboards to write words, not code. Their AI checks my spelling and suggests the next word or phrase I might want to use.
I see this as no different than what is being discussed. It will catch some errors and miss others it will make some good suggestions and some bad ones. But in the end it won't make the programmer program better, just faster.
Would I trust an AI to write a whole program (or a whole book)? No. But I've known professional programmers that I wouldn't trust either.
AI isn't ready to take your jobs . . . yet. And it may never be. But it can, when used appropriately, make your life easier.