Population has vastly increased as well, which affects all professions.
How many times has that automation resulted in the business saying "great, things are easier" instead of "great, that's quicker now, let's do more things with the time we freed up?" I've only seen the latter, which just breeds more* need for more automation.
You can see it in how much software the average business employee used 40 years ago vs today, even halfway through your timeline.
My father ran his two person business with spreadsheets, word processing, and games (haha) about 40 years ago.
I think people forget how much tech was around in the old days. Moon landing and SR-71 happened in the late sixties. Mythical Man Month talks of the software/PM angle and most chapters apply directly to today.
If the world thirty years ago needed fewer software developers, then you'd have fewer 20 year old new software developers - and that strongly reduces the odds of having as many 50 year old developers today as 20 year old developers today.