They haven't been mentioning profit for a while now if I'm not mistaken but I doubt the gaming divisions hasn't been profitable for a few years now. Software sales are strong (even if their first party isn't), added with revenue from XBL and accessories. There is no way in hell their base Xbox one is losing money per unit and I doubt the 500$ price tag on the X isn't at least breaking even.
The only thing I could see them making a loss this quarter is if they deduct the price of all the studios they bought. 4 studios aren't cheap.