Huawei is working to reduce its five-year semiconductor production gap with TSMC by producing 1.4-nanometer chips by 2031.