The United Kingdom banned Chinese tech company Huawei from its 5G networks after the U.S. took similar action.