Simple.
Without taking into account the 8th gen, ask yourself which company would you rather have been. Looking at it from a business point of view and not as a fan, you'd have to say M$. Unless it's been my debunked, the PS3 was said to be a big money loser for Sony whilst the Xbox 360 supposedly made some money--just not the kind of money that Microsoft wanted it to make.
This is based on forum posts. I'm sure concrete numbers are out there. I just don't know where to look. Plus I'm lazy.