I've seen an argument--which I don't have enough expertise to advocate for--that the F35's broad but shallow appeal ("jack of all trades, master of none") has an indirect strength: A wider base of demand goes with a manufacturing and supply chain that is constantly active and can be ramped-up if needed.
Speaking of military hardware in general, I can easily imagine there are cases where "best for logistics" completely trounces "best for the job".