In the US, generalists are still high in demand. You might end up writing Wordpress plugins or some other unsexy tech, but there's work available for a decent salary.
Or if you are in the US and you're thinking about tech purely in terms of startup/vc/faaang terms, then you're more right, but wrt tech more broadly that's just not the case.