Washington has said intelligence-sharing may be at risk if the UK buys 5G equipment from Chinese tech giant Huawei.