The algorithm behind the app’s success is proprietary and hard to replicate. And Chinese-owned alternatives like RedNote could also be vulnerable to a ban.