Another way to view the sale is that, if in fact the Chinese do gain military technology to match that of the United States, it will help to maintain the balance of power that keeps countries out of wars.
Note that the United States never attacks countries that can defend themselves.