The crime was committed here and yes, it was a crime. They contrived to subvert US law for their economic gain (at the expense of public health and environmental health). VW has business dealings in the US and has a rather large business unit here, and they must answer to US law. It’s a multinational, not a corporation that only operates out of Germany now.
You’re example is irrelevant, as NK has no business dealings here in the US, nor private corporations which operate (in part) out of the US. You are not a corporation, you are a private individual. If you go to NK and break their laws, then you’d be subject to their laws (but as the US government doesn’t see the government as legitimate, you’d be bailed out if our government thought your arrest would cause a big enough stink, internationally).
I think you need a primer on how corporations work, especially internationally.