The median salary for a nurse anesthetist in San Francisco is around $250k a year (and $285k a year in Akron OH)[1] - keep in mind, that's the median, not the top 10th or 25th percentile. Meanwhile, The median salary for a registered nurse nationally is $73k a year, and the 25%ile is $63k a year[2]
[1] https://money.usnews.com/careers/best-jobs/nurse-anesthetist...
[2] https://money.usnews.com/careers/best-jobs/registered-nurse/...
Also - remember (per the discussion above) that the 400k software engineer pay you mentioned almost certainly includes stock (which is not included in these numbers), but the pay for nurses doesn't include overtime. Try using the Transparent California calculator to see some of the higher end total compensation for nurses.
https://transparentcalifornia.com/salaries/search/?q=nurse&y...
I suspect "software engineer" encompasses people getting 400k at a FAANG and people earning 60k at an outsourcing consultancy or small product shop in a low cost-of-living area.
I'd be surprised if the spread for a RN is as broad.