Huawei Technologies Co. Ltd. has been developing its own chips for years in anticipation of an “extreme scenario” in which the U.S. government cuts off access to American technology, an executive at the Chinese telecom company’s chip-making arm said Friday.