The swiftness of TikTok’s potential demise depends on whether the bill overcomes a number of hurdles and is passed by the Senate.