This study looks only at Swedish men who served in the military, which as the authors observe may well introduce a bias. They also note that a possibility is that higher cognitive ability individuals may more frequently opt for worse paying but prestigious roles, such as academia. I buy it, but I think there’s another factor today, which is that many higher cognitive ability individuals simply are not in the job mark…
How does chasing prestige or avoiding work indicate "higher cognitive ability"?
If you turn around the direction of implication, you are not talking about the same thing.
But more to point, smart people may avoid jobs by arranging high return passive (non-work/job) income, such as from investments, royalties, etc.
Lots of smart people go into fields like mathematics where the work is interesting, success is rewarded with visibility in the field, and sometimes the public, but the pay is nothing like being a CEO.