The military and government officials can avoid use of the apps, without banning them for Americans. As they have before WeChat, and before the Internet.
I think the notion that WeChat is a threat to national security is honestly ridiculous. National security is a legal excuse to do things Trump otherwise wouldn’t be able to do in his pursuit of a trade war.