Jet Fighters need a lot of maintenance, they are not like cars.
So a kill switch in software is not needed. If the US stops shipping parts, then it is only a matter of time before the Jet Fighters is an expensive paper weight.
https://www.ft.com/content/1503a69e-13e4-4ee8-9d05-b9ce1f7cc...
Amusing way of putting it, if you ignore the US/UK instigated 1953 coup of Mossadegh and the installation of the Shah who was busy selling out Iran to the western powers, yeah you can assuming US-Iran relations "collapsed". I'd say they collapsed in 1953 and 1979 was the aftermath.
Also core routers, interxions, sealines, Level 3 et al.
Selling expensive weapons that can never be used against oneself sounds like a pretty significant strategic benefit to me. Are there risks? Sure, but the US could just shrug if exposed. A kill switch seems likely.