Its done specifically to encourage people to invest in capital instead of in commodities or other non-productive resources.
And, of course, it is a "rich people" tax because, in general, those people that have the money to make those investments already have money. Shall we have them build big houses and never sell them, or shall we have them invest it in operating businesses to continue to drive the economy?