There is no rational universe where a company can be worth almost $3T, and at the same time, investors know there is a ~% chance every year that Taiwan gets attacked or blockaded, and that company won't be selling anything for half a decade, minimum. It's like betting on the Death Star fully knowing the exhaust port issue exists. Complete with "but surely our fighters (er, US government) will prevent anyone from actually hitting that port."
At this point, I just believe the entire stock market is irrational and in the stratosphere; simply because, where else are you going to invest? Too many investors, not enough companies. But what goes up...
(Edit: I'm primarily referring to Apple here. I am aware NVIDIA primarily uses South Korea - but at the same time, if something were to happen to Taiwan, even NVIDIA will need to prioritize fab capacity.)