China certainly has prescriptive jurisdiction to make it a crime antwhere to spy on China.
And it has personal jurisdiction over the crew. But sovereign immunity is conceptually distinct. The best analogy is a common crime committed by a diplomat. Similar examples can be drawn from the application of the Foreign Sovereign Immunities Act of 1976. It is a tort to fire the plaintiff, say a second secretary in the Embassy, but plaintiff cannot sue the government because of sov immunity, even though the tort and tortfeasor are in US territory.