There's an old NOVA program that was basically a point/counter-point about using the records out of WWII... one part basically gave a situation, asked your opinion on if the data obtained should be used, then tried to sway your opinion on the next page: https://www.pbs.org/wgbh/nova/holocaust/experiments.html
But even outside of the extreme example of Holocaust data, there are plenty of other examples that have possibly even longer reaching effects: Some of the tissue from Henrietta Lacks' cancer examination was used, without permission or compensation, for medical research. By some estimates, there are over 100,000 medical research papers derived from that biopsy, and some of the developments directly related include the polio vaccine, HPV vaccine, chemotherapy, and a huge swatch of HIV treatments... to some extent, probably all major medical research performed in the last few decades were impacted by her cells.
“A decision to use the data should not be made without regret or without acknowledging the incomprehensible horror that produced them. We cannot imply any approval of the methods. Nor, however, should we let the inhumanity of the experiments blind us to the possibility that some good may be salvaged from the ashes.”