The Supreme Court ruled Friday that a controversial ban on TikTok may take effect this weekend, rejecting an appeal from the popular app’s owners that claimed the ban violated the First Amendment.