A problem is that the govt needs entities to buy its debt (bonds). If SS fund stops investing in bonds, then the bond return rate goes up by quite a bit and that makes our debt WAY more expensive. So this strategy may help with the SS fund, but make our overall debt problem worse.
BTW, Trump's plan to not tax SS payouts will make the SS fund insolvent much sooner since a big portion of those taxes on SS payouts actually fund future SS payouts.
Very glad that we're actually talking about attacking the big ticket items here. BTW, I recently realized that salaries & benefits for federal workers is about 5% of the federal budget. It's a complete joke that Elon is zeroing in on this.