I suppose if you are just thinking about things like cost of formula, diapers, clothes, education. In terms of time spent, children take less and less one on one time as each year passes. They have a finite timeline of required care.
The elderly become less and less independant, the care they require becomes more and more medical in nature, and there is no timeline. Someone with dementia can require around the clock medical care for decades.