HR and management have said things along the lines of "We aren't supposed to treat contractors like they're employees." Why is that the case? What benefit does the business gain by maintaining that division? Alternatively, what detriments are avoided by doing so?

This is usually in reference to things like taking contractors out to lunch with associates, contributing to a baby shower pool if the person is a contractor rather than an associate, etc.