Apple doesn't benefit from banning Huawei, they're targeting completely different markets. Samsung is Korean. And Google (its Pixel line aside, which has an utterly negligible marketshare and effectively only exists to showcase bare-bones Android) doesn't care who is bringing in the Play Store bucks, for them it's no difference if it comes from Samsung, Huawei, Xiaomi, Oppo, Oneplus or whatever else.
Qualcomm has been the main beneficiary of the sanctions against Huawei.
Immediately before the sanctions, Huawei had demonstrated better smartphone chipsets than those of Qualcomm, which Huawei could no longer manufacture after losing access to TSMC.
Most of the smartphones that have replaced Huawei have used Qualcomm chipsets, regardless of their vendor.
Huawei was absolutely a threat for Apple, not sure where you got the idea that they weren't.
(Also Huawei was massive competition for Cisco and Nokia 5G equipment - as with phones, the equipment was recent - from claims of people that worked with it - and significantly cheaper than the western counterparts. Similar to phones.)
Apple doesn't benefit from banning Huawei, they're targeting completely different markets. Samsung is Korean. And Google (its Pixel line aside, which has an utterly negligible marketshare and effectively only exists to showcase bare-bones Android) doesn't care who is bringing in the Play Store bucks, for them it's no difference if it comes from Samsung, Huawei, Xiaomi, Oppo, Oneplus or whatever else.