Long war may undercut global economy, analysts warn