This question is specifically asking about Apple and Google, not iPhone vs. Android handset, er Pixel/Pixel 2. I know, this website should change its name from iMore to iOS Only Fan Club. Snark aside, don't forget that Apple is a software company first and foremost.
We are talking about two different companies with two different business models. Google exists for one thing and one thing only: to eventually create the ability to accurately predict the likelihood of *you* buying a product or not. They are in the business of curated ads and Google's ultimate goal is eventually predict with 100% accuracy if you are going to buy those shoes or not. Everything from AI to ML to AR to email is free. Well, Google Googles is free but Google Glasses were not. Think about that: Google is one of the biggest companies in the World and yet they give away practically all of their products for free.
Apple exists to enhance the human experience through a carefully curated selection of apps and software and to lock you into that ecosystem. The future of Apple is not in iPhone or Mac sales but in subscription services, iTV, iTunes, and so on.
With that, Apple got Final Cut Pro right. Er, well at one point in time they did. They got Logic right. What was that piece of software they had before Garage Band? Soundwave? Whatever it was called it was certainly way better than Garage Band. Pages is still better than Docs even after Apple crippled Pages by removing some of its best features to appease iOS users (who more than likely use a Windows PC if they use a desktop/laptop at all).
Then there is Terminal. Too bad you now need to install Xcode and Xcode CML Tools to get the same functionality out of Terminal that we once enjoyed. Granted, this is from Unix and not Apple, but still...
Keeping macOS and iOS separate.
Apple Pay. Not sure if Apple Pay is better than G Pay or Samsung Pay -or whatever it is called- but Apple certainly almost single-handedly forced merchants to adopt the technology.
Likely others, but this is long enough.