That seems like a very different case since it imposed different rules depending on the content of the speech. The analogous situation to the tiktok ban would be shutting down the postal service, which would be surprising but presumably constitutional.