Get a copy of this book:
And you'll gain an understanding as to why companies are doing it. The companies are covering their arses as much as possible because there have been instances where they've also been stung when the contractor has been caught out by the tax man. The middleman company is basically playing the role of insurance for the corporation.
The author also runs this website which you might find useful: