The U.S. Supreme Court appeared likely to uphold the law that could ban TikTok, with most justices appearing to take the national security arguments seriously.