Kaspersky has been very credibly linked to Russian intelligence:
https://en.wikipedia.org/wiki/Kaspersky_and_the_Russian_gove...
And Huawei has been very credibly linked to Chinese intelligence:
https://en.wikipedia.org/wiki/Criticism_of_Huawei
There is often an attempt to equate these behaviors with compliance with court-order subpoenas, but they are not the same.