We all have seen ChatGPT and I can confidently say that ChatGPT can't replace programmers at its current form but in a short future more sophisticated AI would be built on the foundation which ChatGPT has laid, and they would become a threat to devs.