Just so you know, neurosurgery is not that competitive.
Most competitive things have all 3:
1. money
2. lifestyle
3. prestige
I would argue things like derm and plastics have all 3
Neurosurgery is sorely lacking in #2. Thus it is not as competitive and this is shown in the match statistics (step 1 not that high relatively speaking).
Several things you mentioned I disagree with...
First neurosurgery is just as competitive as Derm/Plastics - Essentially identical step 1 and research. Despite the terrible lifestyle it is still an absolute bloodbath.
Second not all competitive specialties have all three components, in fact I'd argue that no specialty has it perfect in all three.
Third, Derm may have excellent lifestyle, and compensation is good but not exceptional, but I wouldn't say there is much prestige beyond impressing medical students who romanticize competitive specialties. The general public may have a shifting perception of dermatology due to Dr. Pimple Popper or the rise of Instaderms, but the field does not have the "Layperson Prestige" that you see in fields like Cardiology, EM, or Surgery, which the general public tends to fawn over.
I would also argue that no specialty actually has all three, but rather different say (1-10) levels of all three, and most competitive specialties hit lets say >20 or some other arbirary cut-off
Ex.
Ortho (23) - Money 9 Lifestyle 5 Prestige 9
Neurosurg (22) - Money 10 Lifestyle 2 Prestige 10
Plastics (22) - Money 8, Lifestyle 6, Prestige 8
Derm (20) - Money 6, Lifestyle 9, Prestige 5
Optho (20) - Money 6, Lifestyle 9, Prestige 5
vs
Peds (11) - Money 1, Lifestyle 7, Prestige 3
Family (11) - Money 2, Lifestyle 6, Prestige 3
Hospitalist (14) - Money 4, Lifestyle 4, Prestige 6
The numbers are just for fun, but it would be interesting if people agreed on a rubric and I bet the most competitive specialties would be pretty high.