Well, you absolutelly can make digital products that run at least some built-in software and have network connectivity spy on people, but RAM is no such product in either sense - in neither runs software (and given it's performance constrainst it would be stupidly hard to add it as a feature) nor does it have any network connectivity.
Routers and motherboards, for example, yeah - both have network connectivity and both include and run software so shipping them with spyware is just a question of the factory or distributer putting the right software in them (for motherboards, in the BIOS and running inside as secure code, inside the CPU itself or even in certain peripherals).
(It would be possible to put it in places with more indirect access to networking - such as SSDs - but it's more complex at they would need to hack OS binaries on the fly)
Of course, even for the stuff were it's possible, it's seriously deluded to think only one of the nations with insane civil society surveillance levels that sells those things - China - would be adding spyware to it but not the other one - the US: devices with the capabilities to support spyware made in or designed in any nation which does a lot of surveillance are always suspect.
Yeah, pulling the "America are good guys, China are bad guys" card at a time when America are unwavering allies and supporters of the nation who is openly doing in the XXI century the same kind of thing as the Nazis did, with equal levels of inhumanity and ultra-racist violence, doesn't have quite the same power as it did even a decade ago (though even then the whole Iraq invasion thing had already showed the American "moral high ground" as being mainly a tall pile of mainly middle eastern corpses).