There are a small number of CS-degree holding software engineers or statistical expert data scientists who can pivot into AI with a fairly direct application of their existing education and experience, but the vast majority of people who were laid off from "tech companies" do not have that background.