No, it's really not like that. There are specific protections for federal agents against state prosecution. Private companies have no such protections.
You're talking about one specific dimension of liability which is federal criminal liability. There are several others!