Cancelling projects is already politically costly, while more military investment is unlikely to boost economic growth