I don't know whether you're aware of this or not, but you just described a famous experiment which essentially arrived at the same conclusion. It's worth a read for those not familiar with it.
This interpretation isn't really any less disturbing, since it suggests that people will commit atrocities and simultaneously believe that they are doing the right thing. Perhaps it also says something about the general public's trust of, not necessarily authority figures, but rather scientists.
Reading up on this has been on my back-burner for a while, this interpretation might be well considered and discarded, but I thought I'd throw it out there.
I believe this is related: http://www.is.wayne.edu/MNISSANI/PAGEPUB/Milgram.htm
Zimbardo has stated that he is still pained at the memories of the Stanford prison study, which had to be aborted prematurely because the vile characteristics it exposed in normal, healthy participants was going out of control. He reluctantly revisited the study in detail because he saw striking parallels to the torture and humiliation in the Abu Ghraib prison under US occupation. While he's at it he also reviews much other research into the psychology of authoritarianism, obedience, dehumanization and other facets of social psychology that add up to what may very reasonably be called Evil.
I might add that organizations like the CIA are well aware of these principles, and appears to have been working on ways of weaponizing them. It is my opinion that they are using them to corrupt individuals and whole social environments when that suits their ends. In fact, in spite of "The Lucifer Effect" being a fascinating read from beginning to end, one of the parts I found most interesting was the evidence indicating that US intelligence actively created the psychological conditions for the abuses at Abu Ghraib.
Highly recommended reading, and very relevant for much of the potential consequences of mass surveillance.
Perhaps the difference is if the doctors/nurses/vendors think that they can get away with it, not attracting the public's attention.
Now if we could get some prominent figures in tech with some authority to get more involved in these matters, but no - they're all a bit too comfortable in their well-paid, US-based jobs to risk anything.