Don't know why you're downvoted given that you're correct. The end result of this is to ensure that China develops their own semi conductor industry. Besides the short term loss of sales, in the long term new companies will emerge that compete with the American semi conductor industry.
It's just a dumb move all around.