Like child-labor laws? Public education? Your comment has a point, but it is quite black and white.
Governments are a service that people buy, which we have collectively voted on, agreeing that there are things that a purely corporation driven society would not do.