ByteDance Ltd.’s options for TikTok in the US are looking increasingly desolate, as the tech war between Washington and Beijing boils over.