For some reason we think of corporations and governments as different things. but an incorporation is a government, and a government is an incorporation. that is the whole point, that is why a cooperation is formed.
A group of people want to run their enterprise under rule of law and this requires a government. this legal entity we call a corporation. it may be a for profit endeavor. it might be a public good physical area monopoly(a town, county, state, country). It might be a for profit physical area monopoly(these were some of the first licensed corporations, but you don't see it much now days). anyway there are many types of corporations.
Usually to achieve the desired legal protection a license is acquired from a parent corporation that lets you form the government needed to run the corporation. it's corporations all the way down. At the top level they are peers(nominally) and must guarantee their protection the hard way(armed force). Organized crime is an example of an unlicensed cooperation, there is still a government, but the endeavor is run unlicensed, in rebellion to whatever larger entity claims jurisdiction over the area.