Considering how many lives were lost (and how much money spent) defeating fascism in Germany and Japan, I think maintaining a presence in their country is an investment in not having to do that again.
Only liberals and statists call an act of spending an "investment."