Apparently not. Horses often show very different behavior when interacting with other horses, when interacting with humans and when interacting with other species, such as the barn cat.
Horses appear quite capable of recognizing that they are a horse, you are a human, and these are not the same thing at all. This doesn't mean they can't form social bonds with us. It just means they aren't stupid ;).