Both things use chemical reactions in the brain to create an addiction. The only difference is that smoking is regulated.
But putting pointless distinctions aside, an addiction is an addiction. Gambling addicts won’t die if you lock them in a room for a week (with food and water…), but they’ll go back gambling once you let them out.
Same with TikTok and other social media. They’re creating real addictions in people with real consequences. I’m not an expert scientist doctor man, but afaik addictions are bad.