IIUC, in the future, the SS tax isn't going to cover the benefits that SS will be obliged to pay out. So some analyses model the shortfall as coming out of the government's general budget.
So, yeah, it's "separate" spending in a sense, but it's not totally in its own sandbox.