The Senate has passed legislation that would force TikTok’s China-based parent company to sell it under threat of a ban, a contentious move that’s expected to face legal challenges and disrupt the lives of content creators who rely on the app for income.