The Kremlin branded the expansion of NATO as a fundamental threat to Russia in a revised military doctrine that dramatically reflects deteriorating relations with the West.