TikTok disconnected access to its users in the US shortly before a national ban on the app was to take effect, with President-elect Donald Trump unable to intervene until he takes office.