The program will be picked up by others in the fullness of time. It's a shit move, for sure, but I bet the calculus here is that the US will still benefit from someone else doing the hard work but without paying for it.
The only thing the US loses here is prestige. And I'm totally fine with that.