I remember watching (on TV) an anime with a young boy (black hair) and a robot (all grey). The robot was not huge, like being able the pick the boy up in his hand. He was more like ten feet tall. And they were friends.
It is probably like 15 years old.