It is because of the deductions
When you file personal income tax, your deductions are severely limited. when you have a company, you can deduct many expenses.
This comes at a price of course:
1. You have to set up the company;
2. You have to file your taxes more often;
3. The tax return is more complicated;
So it is not "无用功". But think about your cost benefit ration.