Hard to predict when China would actually pull through with it but it's inevitable that it would attack. It would not allow Taiwan to remain free. I do saw some vids that for reasons, China have to do this within this decade.
Even without the chip monopoly I doubt the US would take lightly the "reunification" of Taiwan with China. It basically allows China power projection into the Pacific and would compromise US positions there. From hereon nothing stands in the way into America.
Ukraine in NATO on the other hand is just something that would be nice to pester Russia with but something the guys in Washington wouldn't lose sleep over.