If you read Asimov's short stories and novels, you'll find that the point being made over and over again is that despite them sounding ironclad at first, the laws are naïve, futile, fraught with unexpected ambiguity, and ultimately cause more trouble than they solve.
People have this idea that Asimov envisioned a world where robotics was based on the rules, but it's the opposite really. He was claiming that there is no such thing as absolute rules once intelligence starts getting involved, and that nuance and grey areas are inevitable. The three laws were never more than a straw man to be taken down, and it's really weird to me whenever anyone uses them as some kind of north star wrt/ to AI ethics.
So in that sense, the comparison is definitely apt :)