Surely you jest. How often have we seen tech types say "learn to code", suggesting that people whose careers are disrupted just retrain into a different career, telling businesses to adapt or die (pre-LLM), or make condescending analogies about buggy whip makers on HN and /. before it? Quite a lot over the past 20 years.
Software ate the world and the techbros were very blatantly unsympathetic about those affected by their industry and careers being upended. Don't think that anyone forgot about that now that we're the ones in the crosshairs.
You're looking a massive selection bias. Most people in tech are _not_ saying those things (e.g. most software engineers in my circle would agree learning to code at a non trivial level is decidedly NON trivial). The vocal elite at the top of the tech pyramids (who have a vested interest in sweeping externalities under the rug) are the ones spewing that shit.