Rand's ideas are about maximizing personal freedom, with money only a means to that end. Most of the characters in Atlas Shrugged give up fortunes that they've either earned or inherited when they realize that holding onto them limits their personal freedom. So there is actually no contradiction at all.