Solutions to climate change, which would also have the effect of reducing per-person emissions, need to happen within a much shorter period. By the time the population actually does shrink, having fewer people won’t make much difference
For now, it appears that the kind of robots we’d need to replace humans at scale won’t arrive soon enough to help compensate for the slowing productivity growth of an aging population