Delicate balance as the country seeks foreign skills, but hauls Huawei to court over its lack of equity compliance