People who mention military spending don't understand we actually underspend given our GDP. As a percentage of GDP, we rank somewhere in the mid/high range of countries (this is the best way to measure, otherwise try comparing Vatican city budget vs Chinese military budget...).
Elon said Optimus robots, once fully integrated with the economy, will be a major deflationary factor and would allow for GDP growth to overcome the debt issue. Hopefully we don't need to rely on something like that and can actually fix this issue.