A better analogy might be television. If a company such as GE produced TVs and also owned a television network (NBC), then selling TVs so people could watch NBC would generate ad revenue but if someone replaces their GE television with a Sony TV, NBC still makes money selling advertisements.
I'm not sure I would describe the television equipment business as the entity generating revenue.
In the Google ad world, it is the ad-network that is generating the revenue, not the phones/tablets/computers that are rendering the ads.
That isn't to say that Google isn't getting revenue from Android, just that it would be odd to attribute the ad-revenue to the device business.