Why couldn't it be both? To me, the least-surprising explanation would be that both the Chinese government and the NSA were trying to exploit Huawei. Any finger pointing could be chalked up as typical "left hand doesn't know what the right hand is doing."