The repairs tend to basically cost as much as it would to buy the same item refurbished regardless of the issue.
SSD died on your MacBook air selling for $500 on eBay? That will be a $450 repair sir.
Sure, they may have manuals and everything else at the Apple store, but there is very clearly a reason why companies like iCracked and iFixIt exist, and it isn't because Apple offers such a wonderful and affordable repair shop.
It would be great if Google offered a way to get the phone repaired through them, but using Apple as an example of how it should be is a bit insane to me.