NATO has vowed to defend every inch of its territory after a Russian drone hit an apartment building in Romania.