The California congressional delegation voted with the majority on a bill that could lead to a nationwide ban of the video app TikTok.