You completely miss the fact that the same R&D Israel has done would have cost 100x more if it were done by US based companies.
The US gains massive cheap R&D and real world tested capabilities for a fraction of the price it would pay domestically.
Now you could argue about the moral implications, but money wise it's a great deal.