An escalating battle between the U.S. and China for supremacy in semiconductor technology is playing out in federal court between Chinese telecommunications giant Huawei Technologies Co. and a Silicon Valley startup backed by Microsoft Corp. and Dell Technologies Inc.