How did Stark Industries not go bankrupt after Iron Man (2008)?

I may have missed some important detail, but I know it is stated in the movie that Stark Industries is the largest weapons company in the world. It's a huge fortune and it's been acquiring it over decades and decades; then one day Tony decides that the company that survives by building weapons is going to stop making them, and since he took over the company entirely upon Obadiah's death, this was followed to the letter. So how does the company still sustain itself? I may have lost something, and that's kind of my question, but I don't know what the company has become since the movie. Thank you in advance for any help. ♥️