TikTok sues to block US law that could ban app TikTok said the measure was an “extraordinary intrusion on free speech rights”.