Xbox is a net loss, and according to someone that works there (who is active on HN) they hope to be in the black 'somewhere in the next couple of years'.
So, no, Xbox has not done 'pretty well'.
They are now 5 quarters profitable, but overall they're still in a very deep hole.