Automation has killed off jobs for a long time. What's currently happening is not comparable to earlier situations where technological progress killed off jobs. When modern transportation came around for example, it did kill off jobs too, e.g. cowboys and uneducated farm hands. The difference was that while the progress of the combustion engine and later of the car destroyed old jobs, it also created a lot of new ones and even entire industries around them. The cowboy could go work in the city at a petroleum station and frankly, he was better off for it. It improved quality of life and gave western civilization a huge boom.
Nowadays automation destroys jobs without really replacing them with modern alternatives at a scale that would cover population growth or -demographics. A technology company maybe employs dozens, hundreds, maybe thousands of people but consistently automates jobs of other industries away without really creating new ones. People don't get better tools that improves their quality of life while working or enables them to do new things, they're actually in direct workplace competition with these tools. The jobs creating these tools are also usually highly specialized jobs that have a definitive cap on how many people in that particular workforce are needed in the economy. Not only can't everyone just "learn to code", they also aren't really needed if they did.
Even if you don't care about the struggle of the plebs to earn a livable wage, long-term this has big, negative implications on the economy. While work efficiency grows and a single worker gets more and more done with all the automation around him, the mass of people actually able to afford and consume this output shrinks further and further as life quality diminishes, making profit margins razor-thin. That's also why everyone is caught in this spiral of endless optimization now.
It's a big problem. Stopping automation is not going to happen. The only real way to fix this IMO are strategies like universal income, higher minimum wages and reduction of work hours. Besides socialist sperg-outs, people complaining this makes work or "the economy" meaningless haven't understood that everything is fake as hell already anyways, so making everything a bit more fake and meaningless, in the big picture, doesn't really matter. I personally don't think that is going to happen. I just think that life will get worse. Frankly, I'm too old to have to care anymore and I can't fix it.