This is a Metto, They're cheap robots with simple but easy to program AI that can fulfill a variety of different roles and can be easily mass produced.
This particular metto is a guard model, designed to patrol simple paths and keep intruders out of areas they shouldn't be.
They're not very good at shooting, but their sheer numbers and ease of replacement makes them highly favorable.