Social Security isn't a Ponzi scheme because it would work perfectly well if the population remained stable over time, or shrank. And it would even be alright if it grew slowly and linearly.
What really throws a wrench in the cogs is when the generation retiring is much larger than the ones still working, especially the one or two before it. This is why the Baby Boomers leaving the work force is so problematic.
The good news (in a sick sort of way) is that our diet and health care are so bad that we save a little due to lifespans actually shrinking. People mistakenly attribute the problem to longer lifespans, but the expectancy of a working-age adult (the only group that matters for the purposes of entitlements) has barely budged since before Social Security was invented, and is now quite possibly shrinking. Lifespan from birth (as it is typically expressed) has risen almost entirely due to lower infant mortality.