New Zealand lawmakers and other workers inside the nation’s Parliament will be banned from having the TikTok app on their devices, following similar moves in many other countries.