Partners at big city law firms are obviously very well-compensated. But the glut of lawyers has been something of a story in recent years and employment difficulties/low salaries for graduates of second and third tier schools are the norm.
Neither of these professions are examples of highly constrained supply except to the degree that there are only so many ex-military pilots and Ivy League law review grads.
"Commercial jet pilot" has median salary of 6 figures. That is not an entry-level pilot position.
Example: crew reacted incorrectly to autopilot problems following pitot tube obstruction by ice on AF 447 and stalled the aircraft, leading to death of all on board. [1]
My point is that I don’t think there’s a strong correlation between risk to public safety, and remuneration, nor between training and remuneration. There’ll likely be some correlation for both, but you can find huge variations in remuneration across different industries that can’t be explained by those factors.
It occurs to me, though, that vehicle cost might be a factor. How much does a new semi cost? $100,000, maybe? How about a new 737? $80,000,000. Does that influence pay?