That's an oddly disconnected fantasy about modern capital ownership.
Capital, including shares in companies, is greatly concentratred in a few people - the highest concentration in ~ a century. The money is going to those people. You might say they are benefitting from the war.
A great many other people don't own shares or retirement accounts. Studies show that ~50% of Americans can't cover ~$500 for an emergency (yes, liquid cash is different than a retirement account, but you can borrow or withdraw from it in an emergency).