What you are calling "unearned income" can still represent production indirectly, since it is income from passive investments, which are supposed to give returns based on creating wealth. It is true that that isn't always the case, however, particularly when such investments can include various sorts of derivatives and other zero-sum transactions.
That said, if no income were taxed at all, any disparity between how the various kinds of income were taxed would go away.