This part of the article got it wrong. SS money is spent, it is not invested. The SS Trust Fund gets an IOU but there's no asset backing it. That's different from a Treasury bond, which is a real financial asset that is tradeable and marketable.
Also, the US wasn't really running a true surplus, it was still borrowing from SS during this period. The feds use SS to mask the true size of the deficit, and it was only by this phony accounting that the budget was "balanced".