Well, a state is the entity that has sovereignty in a given country. So in principle, it always has access to all of the resources of that country, even though in practice it's bound by all sorts of laws and customs. Also in practice, these laws and customs tend to have exceptions in exigent circumstances.
Personally, I think dividing between the state and business is simplistic. Most businesses and most states have a symbiotic and codependent relationship, that is more or less explicit depending on the country you're talking about, but that's by the by. In practice, states generally have access to collected data through subpeonas.