ByteDance is navigating the use of Nvidia and Huawei chips amid increasing localization pressures in China's tech ecosystem.