The CEO of TikTok, Shou Zi Chew, has agreed to testify in front of Congress over growing security and safety concerns.