Are you implying that using any of those services will see malware installed onto your computer?
Analysis of data in the cloud for advertising type purposes is very different to the problems of malware
Yes.
Wikipedia definition of malware:-
"Malware, short for malicious software, is any software used to disrupt computer or mobile operations, gather sensitive information, gain access to private computer systems, or display unwanted advertising"
I'd say that describes Alphabet / Google to a tee.
Remember, if you get something for free, that makes you the product.
Alphabet / Google don't just sell your data to advertisers, they harvest your information to create datasets and in the case of email, they harvest your contacts, scrape your incoming emails for data on the sender, creating datasets on people and entities that have not explicitly consented to Alphabet / Google's terms of service. All in all, 'malware' seems to fit their business model pretty well.