TikTok went dark in the US hours before a new law banning the popular video sharing app was set to come into effect