Humans can deduct things so they are taxed at their profits. It's just that rules are not straightforward and what counts as a deductible expense is not the same for both. So you are aiming at the wrong level for a critique. See https://news.ycombinator.com/item?id=26698446