I have played with similar code-generation AIs (though not yet had a go with GitHub Copilot which is the one most are talking about.)
My overall impressions are if you give it a good description of the task it can do the job well, but it clearly doesn't understand anything other than how to connect random fragments of information together.
What surprised me is it can handle esoteric requests, for instance, you can ask it to write some Verilog to blink an LED based on some clock at a certain fraction, and it will mostly get it right, but then sometimes include a synchronous or asynchronous reset. That wasn't part of the request, but some code examples will include those, which means occasionally the output will too. Also, if you ask it to produce code and run it, about 50% of the code will have a syntax or nonsensical error like a for statement with a condition that is never reached.
It also surprised me that it can write GStreamer pipelines (anyone who has dealt with embedded video is likely to know how to do this, but it seems like there isn't much on Google, so it suggests it has read a lot of documentation and other source code to extract samples.) Many of these pipelines will at least initialise correctly, but only about 25% of them work.
There's definitely a need for the lower level programming that these tools do, and I could see for instance writing test benches for software becoming a bit obsolete eventually, because it can be automated. But at the higher level, much of what programmers do is to translate a request and requirements written in English into source code, which includes everything from selecting the tools and language to use, to the methods and data structures, to the lower level implementation. I think it's unlikely this will be automated any time soon as it would require a true generalised intelligence which is sort of the holy grail for AI and I don't think we're getting close (it's very likely to require data-centre sized clusters to do what the human brain does, in any case, and raise significant moral and ethical concerns about conscious AIs.)