This is not a means to avoid payroll taxes. They're still being paid by the contractor. And in a way that costs the corporation money, if contractors have to pay the tax out of after-tax income, because then they'll demand higher compensation to account for it, by the amount of the tax plus the amount of the tax due on the increase in compensation.
There are other reasons corporations prefer workers to be contractors, but that isn't it.