As cool as giant robots are and humanoid robots are, they are not the most practical things.
I've seen things like human ships crewed by robots, but looking at this, i mean why? Why not make the whole ship itself a robot?
OF course we humans have the flaw of thinking ourselves to be the greatest thing, but we ourselves are actually very flawed creatures, and this, based on the evidence of my sources, which I will provide that making war robots in our likeness is not the best decision. a robot can be engineered to be superior in form to a human.
https://www.youtube.com/watch?v=7ZlLtfQik1c
it best design would be a vehicle.
(BAE systems black knight UCV)
And walking actually is quite hard a task for a robot among other things:
https://makezine.com/2015/06/15/hard-make-humanoid-robots/
Since this site is about world building, I am coming up with a series about robots, and I am not convinced that humanoid robots are the best design. Nothing is really the best.
and again, the human form is quite flawed. It has to have an exascale supercomputer in it just so it can function! which sounds inefficient.
https://aiimpacts.org/brain-performance-in-flops/
for the details:
the machine must be on the tactical level of use in combat.
the machine must be able to complete any combat task in the modern battlespace in the world today in land combat.
the machine must be able to defeat all known conventional combatant it may face.
given these three perimeters, what would such a machine look like?