It's a useful analogy. Heroku abstracts server configuration away from Rails development to the point where it's (theoretically) completely unnecessary to know /anything/ about it. If this does the same thing in a different context, I think it's a fair comparison.
It's closer to Urban Airship than Heroku. Just because they are both YC companies doesn't mean they have to be compared.