Tor has a notion of exit policy, but it's only expressed in terms of permitted and forbidden TCP port numbers. This lets you, for example, decline to deliver SMTP traffic on TCP port 25. The exit policy can't list IP subnets (contrary to my recollection; I thought it could, and maybe it once did).
A lot of government investigations of Tor users do involve the use of pretty mainstream, popular services like Gmail, accessed over Tor. Someone can access Gmail over Tor and send e-mails that provoke a government investigation.