Even if we did it that way, Apple still comes out ahead.
Also, that 86% is basically from Google Search ads and YouTube. YouTube's quarterly revenue is estimated to be just under $4 billion. That puts Google Search ads at around 72%, which is still higher than the iPhone's 59%.
The notion that Alphabet's "other" projects succeeded while Apple's languished is completely baseless.
It also includes ad network ads on non google properties (double click and such), which is arguably more diverse than iPhone an iPad.
Google's last quarterly report says 24bn in revenue from Google properties, and ~5bn from non-google properties. If we add in that YT is a separate property too, we get ~60% from Google, ~12% from youtube, ~15% from network, ~14% from hardware/android/cloud.
(I work at Google, but I am using public figures from the Q3 investor relations document and your analyst number for YT revenue).