There are different types of danger and I'm not sure which one you're referring to - there's the general economic danger of relying too heavily on one trading partner (if China decides to put export tariff on anything to the US, for example), or literal danger, like national security stuff.
I assume you're talking about the latter because that seems to be what is talked about with TikTok. Again, it seems weird to me to decide, after however many decades of globalism and exploiting China's manufacturing prowess for cheap goods, that this is suddenly dangerous but then proceed to do absolutely nothing about it, except stifle TikTok.
Diversifying supply chains is a good idea - and the US is doing that already, though it seems to be much more in response to the first definition of "danger" than the second. Because if it was the national security aspect, we'd be seeing it happen with much more alacrity and urgency, and not some hand-wringing about TikTok.
Dangerous? I would definitely argue yes.