I don’t think it was the original intent of Stan Lee (although he himself admited it the character was an answer to certain hippie ideals), Tony Stark ended being a sugarcoated, for the masses, John Galt. A propaganda for certain aspects of Objectivism.