Huawei Technologies is shifting its focus from expanding HarmonyOS’s user base to refining its software and developing on-device AI, as the Chinese tech giant sanctioned by the United States looks to build on a milestone after the operating system surpassed 100 million installations.