Yes, it's sad that this has happened. Looking over my 45 years as a software engineer and having played with AI, I can understand why companies are doing this.
In the 1970s, there were keypunch operators responsible for handling the workload of inputting data into the computer and transcribing what programmers wrote on coding sheets. Then the TTY was introduced, and they experienced a reduction in their workload when programmers began using terminals and modems. As technology advanced, data was transferred electronically, significantly decreasing their data input load.
Also in the 1970s, nearly every manager had a secretary, and then a few years later, secretaries began handling multiple managers as the need to type letters and documentation decreased.
Some executive bosses would act as lazy editors, requiring the secretary to keep revising their letters. Secretaries were not happy campers when that happened.
Then the Wang word processor came out, and secretaries were elated because they didn't have to retype a letter to fix a mistake. It looked bad if there was even one mistake in correspondence with a client.
But the Wang revolution was beginning a new wave of change.
The PC revolution came and allowed managers to type their letters, and secretarial work was reduced to nothing.
The remaining few secretaries handled various employee requests and handed out pay stubs until EFT became the norm and employees got PCs for work.
At IBM, some secretaries went to the chip production line for better pay at the risk of exposure to the toxic chemicals.
Then it was the progression from mainframes to minicomputers to PCs that reduced the need for tape jockeys —the guys who kept operations on the mainframe running smoothly.
There were also support personnel who printed specialized stock certificates and other important documents on offline MDS printers, and still others who bundled card decks with their output and delivered them to the GE main plant.
Technology constantly threatens your job, and you must be adaptable to change.
I have a physics degree that enabled me to work on CS, math, or physics projects in my last employment. I also transitioned my programming language proficiency from Fortran/COBOL/Assembler work to C/C++/Assembler, and then to Java/Python work with Docker included.
So take care, save your pennies in whatever matching 401K retirement plans are offered to have a better retirement once you get off the eternal Hamster Wheel.
The Twilight Zone, though dated, had a marvelous episode, "Mr. Whipple's Factory," where a machine replaced everyone. The only jobs left were the machine repair roles and the factory head.
The end of the episode showed Robbie the Robot swinging Mr Whipple's watch around. Meanwhile , Mr. Whipple was in the local bar saying, "I gave my life to the company and now look what they did."
His former employees were not amused by his situation since he didn't care about them.
---
TESTING RULES!
The need for folks to test the code will increase since AI hallucinations may be around for quite a while. Companies want to avoid legal entsnglement like a Canadian Airline had experienced when their chatbot gave false advice to a customer about funeral flights.
This can also hapen due to changing models and the modifications of system prompts that set up the models, so testers are needed to test, test and retest.
Maybe even some lawyers can get involved since they've been trained to study contracts and look for loopholes or unfavorable items. They would make betters testers in a safer than dino meat ala Jurassic Park.