Having to build local alternatives probably had a positive impact on China's software industry. We're at a point today that major Chinese software/tech companies are routinely talked about on nightly news.
Similarly, the benefits of Sweden banning Signal would most likely accrue to WhatsApp, not any indigenous software company.
[1] https://restofworld.org/2022/tiktok-sized-hole-in-india/