Would there be any real practical benefit to using a giant humanoid robot as a piece of military equipment...

Would there be any real practical benefit to using a giant humanoid robot as a piece of military equipment, as opposed to normal conventional style vehicles?

They look neat.
no

None, but it would be really, really cool.

What if it looked like this and made mooing sounds.

Considering the US military budget I think we should make some anyways. It would just be more intimidating. I think they might be good for fighting in mountains and stuff.

spider tank seems like a good compromise

depends on

it might help if you can actually chase someone. lets say you're fighting ISIS army with AK, the robot won't get scratch by it, you can chase them down for more than 6 hours. then it'll help a lot.
not to mention it can be an intimidator or distraction to the actual army

There is an advantage to legs (mobility, ability to lose one of several and still move) but that's about it. No advantage in a human shape.

If they are relatively cheap, mobile, fast, have decent armor, radar and defense systems, armory, infantry support, not giant and are used in scenarious/terrains where infantry would prevail, then pretty much yes.

And it's harder to disable an armored moving joint than a whole side of a tank's caterpillar system.