Although it's obviously more of a problem for hardware people judging by this article, this makes me glad, as a sysadmin, that my career has been almost exclusively contract based.
This wasn't much of a conscious choice, it was just the way it panned out for me early on but after 21 years in IT and only 1.5 years of that in 'permanent' employment, I feel glad that this way of working has forced me to chop and change roles, technologies and sectors so that I have done UNIX/Linux SA, DBA and storage work and have had some recent AWS/ansible experience too.
If I had stayed at my first 'enterprise' role, I could probably be in some management role now or be in a technical role that would have made me hard to employ elsewhere too. I'm much happier that I think I now have a record of varied experience showing I can pick up new stuff.