You’re making my argument for me. The percentage of people who are actively trying to get into FAANG but don’t is higher than the percentage of people actively trying to become doctors.
It’s more selective. So comparing FAANG salaries to the average doctor salary isn’t useful. To find something equally selective, you’d need to pick a higher paid subset of doctors.