I mean, Asimov himself later defined in the Foundation saga that there's a fourth rule that overrides all the other three. Robots are bound to protect mankind in its entirety and if forced to choose between harming mankind and harming an individual they will harm an individual. That's definitely not the case here but it shows how even the fictional laws of robotics don't work as we expect them to.