As an anecdote, I've tried to search opinions disagreeing with me, looking for an explanation on how SS isn't a Ponzi scheme; but the all the arguments I've found boil down to "it has worked so far", "it is well-intentioned" and "people investing into it are not being intentionally misled".
Without having most people lose money on their investment (by dying earlier than the projected age when calculating pension), I fail to see how it can work out as anything else than a pyramid scheme.
State pensions don't work like this. Even in disadvantageous demographic situations, the majority of people get something comparable to what they put in. Even in the most aged populations you don't go from X to 0; you go from X to (1 - c)X, where c is relatively small; that is, much closer to 0 than to 1.
Social security is about as far from a Ponzi scheme as you can get. That don't mean state pensions never have problems, but in principle you can always balance expenditures with revenue.