you... you dont have to shoot the robots.
there phases are on a timer if you just dodge and shoot the destructible projectiles they will just die