Like Nintendo with the Wii U, it's not about being on top, it's about being profitable and I do believe Microsoft will make money off the Xbox One (no matter if it is less or more successful than the 360) so I don't see any reason why they'd stop developing consoles if it makes them money.
Signature goes here!