Part of military spending to counter Chinese and Russian 'threats"