Developed economies are beginning to struggle with aging populations and more retirees. China may soon join them.