That is a convenient excuse. There are way too many "white collar" jobs which are essentially useless. The executives are discarding people in those jobs so they will have enough cash left to pay themselves large "performance" bonusses.
It is a liquidation system. The throw-away people get their wrath diverted to a computer program which they cannot harm instead of an executive whom they could harm.
There needs to be places for people to go when they have been turned out of the large corporate systems. Some place besides the street.
In fact, ChatGPT can even code.
No, it cannot. That is just another excuse to layoff American workers and ultimately replace them with H1B slave labor brokered through Indian agencies.
Generated code from ChatGPT is like that dog that plays checkers. He doesn't do it very well, but it is an amazing feat that he can do it at all.
ChatGPT code is filled with glosses and references to methods and program libraries which do not exist. You can find better stuff from examples on The Code Project or Stack Overflow, of GeeksForGeeks.org And that is where ChatGPT extracts much of the content it uses to generate code.
ChatGPT can be marginally useful to generate simplified examples of an unfamiliar programming technique for learning purposes. It cannot as yet generate production-grade applications.
But it makes a perfect scapegoat for all kinds of management incompetence.
Yeah, I remember back in the 90s on how CASE tools were going to replace programmers, never happened.