The Russian president made the threat to deter the U.S. and allies from sending Ukraine long-range weapons.