A Brooklyn jury convicted Huawei of conspiring to steal trade secrets and bank fraud but acquitted the Chinese firm of racketeering conspiracy.