Maybe I've got it all backwards, but I don't try to get the kids to be afraid of strangers.
In fact, I try to get them to be confident enough to go up and to talk to anyone, at any time.
Am I worried that they might be abducted? Not really. I never let them out of my sight, or the sight of someone else who can take care of them.
What are they going to need to do as adults? Be afraid of everyone and unable to talk to new people? That's sure not going to help them much. Better to be able to know how to talk to as many different people as possible.
So no, the kids are not being taught "stranger danger."