If money stays in a corporation as equity, it doesn't do anything else. The economy relies on money moving around.
Additionally, we don't tax unrealized capital gains.