Research shows that nurses have outcomes comparable to do those of doctors. It's not 10x as hard as SWE, don't buy into that. Plus, thats irrelevant, doctors supply is limited artificially and for no good reasons. The main culprit of high costs are is the insurance companies greed, but doctors are far from being blameless.
Are salaries the only source of income that they derive from the medical industry? My doctor is a part owner of his provider network which also is the insurer.