Pic related. Most of their wealth is not gained legitimately.
The stock market is like a magic money machine that can inflate wealth vastly beyond what it reasonably should be. It's effectively a gambling house, and the only reason it hasn't been banned or reformed is because of how useful it is to those that rule you.