As for licensing to put the f-22/f-35 in a game/movie, I wonder how much of that is actually needed from a legal perspective, and how much is "lets just do it anyway".
The name is covered by trademark so you need a license to call it "F-35 Lightning", but I don't think the design or shape of an aircraft is covered by copyright or trademark law, so it should be fine if you just avoid the name.
[1] https://www.nationaldefensemagazine.org/articles/2016/9/8/in...