NATO chief Jens Stoltenberg and Japanese Prime Minister Fumio Kishida have pledged to strengthen ties, saying Russia's invasion of Ukraine and its growing military cooperation with China had created the most tense security environment since World War II.