China is not going to kill the goose that lays the golden egg. Attacking Taiwan would lead to an Asian arms race and they want to avoid that
There already is an asian arms race going on. India, Japan, South Korea and Singapore are all expanding their capabilities. If anything they will want to take Taiwan before there is an asian coalition capable of challenging them even without US support.
That could be. We will see.