The Chinese government has the ability to control the software on millions of devices by virtue of its relationship with TikTok's owner, ByteDance, FBI director Chris Wray told the Senate Intelligence Committee on Wednesday.