Due to optimizations, it's much safer and more cost effectively to make robots more like tanks that have better armor for anti-personal combat than humanoid machines. Modern wars like the wars in Iraq/Iran have all been urban where either tanks have to shoot to destroy a building, or soldiers have to enter an area prepared for siege to take it over.
>https://www.youtube.com/watch?v=jHBriPavdZI
This is the same modern world is which replacing generals with AI generative AI battle plans that responds on the fly with sending drones to collect data and making a battle plan. The militaries of the world are investing into dog robots more than anything humanoid for smaller drones as it's cheaper for crawling around, harder to shoot, and faster. More can be deployed at a time due to how easy that can be stored.

We aren't getting a battle labrys, we are more likely going to get more advanced gundams/mecha suits over humanoid killing machines.