The tax code allows wealthy people who live off investment income to pay taxes at a much lower rate than average people who earn salaries.