There was (bad) CGI of an X-35B in that movie.
Real F-35Bs don't have an internal gun, and if they did, the guns wouldn't fire from the intakes, and if the aircraft took a large chunk of concrete directly into the LiftFan it wouldn't shudder and slowly fall out of the sky, it would be a catastrophic and near instantaneous loss of aircraft and likely aircrew life.