Its a good question. I am honestly surprised they havent quit yet. Not sure what their plan is going forward, but it seems to be windows 10 on multiple systems. Perhaps they will go back to beeing that PC developer, but in a multi-device platform. Some have said here that the Xbox will be that device for the living room, but given they sell it at a loss... why even continue that? I am unsure they will be around for another console round if the multi-device thing works.
Actually, maybe this windows can go into the next Sony and/or Nintendo systems. It sure sounds like there is more to win for them with that model.