Actually with SLAM, vision based path planning, moving target tracking & following while avoiding environmental obstacle and maintaining track through occlusion, a DJI Mini's sensor fusion capabilities are arguably a lot more advanced than F-35's EODAS which only does hotspot and moving target identification.
To put it another way, other than switching out optical for IR sensors, and mil-spec hardening, in term of sensor fusion a DJI mini can do everything a F-35 can do, while F-35 could only do a small subset of what DJI Mini can do.
Infact higher end DJI drones with air traffic sense and avoid requirements do exactly what F-35 do: detect and track other no-cooperative aircraft and drones via EODAS.
Let's not forget F-35 was designed in the early 2000s, it's literally been a quarter century since then.