President Joe Biden told American troops on a deterrence mission near the border with Ukraine that the consequences of the raging conflict 50 miles away could extend around the world.