Much like all of the inflationary government policies, layoffs are all about wage suppression and increasing the transfer of wealth to the gigarich. All workers, not just laborers or knowledge workers, of all kinds need to unionize and form worker-owned co-ops to stabilize their futures and capture more of what they produce. Going it alone never works out, only solidarity does.
If there's anything good that comes from AI and these massive tech layoffs, I hope it's the unionization of our field. Tech workers have largely been either indifferent or outright anti-union, and now it's coming back to bite us.