Automation isn't the same in each sector, but even if it was, it's unlikely to be linear going forward.
Likewise, fertility rates may be going down, but we also have people working on all kinds of things in that area, including but not limited to artificial wombs.
There's considerably less young people entering the workforce in the west now than there were 40 years ago.