Before the Nazis performed experiments on humans, it was considered horrible to perform experiments on humans.
What Nazis had that allowed them to perform experiments on humans was a carte blanche to do whatever they want by contemporary law, and the ideology that those human beings were in fact "inferior" human beings.
I don't know if you eat fish, chicken and so on, but probably you don't think of yourself as a Nazi if you would. Because you don't consider a chicken at the same level as a human. And this gives you carte blanche to have chicken for dinner and feel absolutely no remorse.
Is it right or wrong? I don't pass judgment. I know all beings have a sense of self and we shouldn't cause pain and take a life for no reason, yet, killing each other and eating each other is part of the cycle of life.
I know that if we consider life sacrosanct and we eat chicken fingers at Chipotle, we need ideology to justify our actions, and so we'll consider animals inferior. If we consider them inferior, they'll be target for experiments, because medical science will continue to evolve.
Depending on how our culture evolves, the moral compass may move in an entirely different direction, where we stop regarding life of any kind as so precious, even human. We'll acknowledge how replaceable we are, and our mortality. This would enable full legalization of humane practices like assisted death for the heavily disabled and terminally ill, and might open the doors again for experimenting on humans to move medicine forward.
You never know.