Comparing to factories shutting down is hyperbolic. It think what we’re about to see is more in line with a a job market that rewards things other than specific application knowledge.
However, I can’t say much in defense of the mid-level IT Pro because just this past month I went from considering a server running an OS and MySQL db somewhere that someone would have to maintaine into using AWS DynamoDB with API Gateway with automated calls to Lambda functions - I can completely get rid of our server and paying a mid level IT Pro to maintain it. For our usage it’ll be practically free now, where I feel like I would have been paying a lot of “enterprise IT” overhead before.
That doesn’t mean that guy is going to starve, he will have to either adapt as factory workers have or be valuable in a different way than “I’m good at something people don’t really need anymore”. This is as old as time.