Yes things are getting worse the more technology is used to replace people. Nobody even seems to care what will happen to hundreds of millions of people who could end up with no way to support themselves because they were replaced by Ai.
That may be a valid argument but it is a precarious one.
The Luddites made that argument long ago and they were partially right. Those jobs, basically no longer exist due to machines.
The ever present goal of today's societies (regardless of economic model) is to maximize productivity. This is what lowers costs, something that you and just about everyone wants done (people are always trying to get the most for the least amount of money.) Machines accomplish that at the cost of human jobs.
The important point is that, in the long run, AI or any other form of automation can only replace humans in the performance of an activity if and only if it becomes capable of performing the same activity to a somewhat acceptable level.
When it comes to programming, AI is barely capable of providing a programmer with pieces of code that can be pasted together. Some self proclaimed "programmers" do have something to worry about but, for some reason I find it hard to sympathize with them.
Your comment reminds me of a conversation I had just a few days ago about a company replacing customer support personnel with AI. Basically replacing very poorly trained people who regurgitate stuff written on a sheet of standard questions and answers. These people are usually in a call center in a third world country, usually barely speak the language and, they usually have such a heavy accent that they are difficult to comprehend. These people are rather likely to be replaced by A.I
A.I can help automate some tasks as long as the task requires _no_ intelligence whatsoever (and even that is limited by the user's ability to ask questions "properly")
The day that thing can figure out a shorter (and correct) proof to Fermat's last theorem entirely by itself, that day there will be something to be concerned about.
Today, the concern is that people of limited capabilities are going to misuse A.I because they want to be part of the "in" thing. Binary fashion, "this program is an Armani/Dior/Lanvin/Gucci/"whatever floats your boat". Move over Knuth.