I wonder how much resourcing it takes to keep it open
For both Xbox 360 and Ps3 I suspect a decent business move would be to have a one time deal. A $100 (or whatever) one time payment that ensures that the core system will remain online for a decade. Doesn't mean any additional purchases but means that match making and friends lists will stay running until 2034. That would have given these systems a 26-27 year life time. Sony is still releasing system updates once a year to keep the Blu-ray keys up to date.
The online portion of the games, explicitly, were segmented.
In fact: the "unspoken" reason why online services cost money (the money is actually a red herring) is so that the online services are materially separate.