The Pennsylvania Democrat, who gained popularity using social media platforms, said TikTok gives younger Americans a “warped” perspective.