Top U.S. universities are ditching telecom equipment made by Huawei Technologies and other Chinese companies to avoid losing federal funding under a new national security law backed by the Trump administration.