Xbox is like buying a generic factory built gaming computer. It can play a lot of 'games', but is definitely master of none, and also with a lot of 'limitations' when it comes to MSFS. You're better off custom building a pc for MSFS specifically. This ensures your cash flow is funneled down the correct path and you're not paying for some 'extras' you will never use.
My approach to computer builds is to do your own research, spec it yourself, then have it all checked for hardware compatibility only, assembled, and stress tested by those in the field, ensuring all the i's are dotted, the t's are crossed and the machine runs as expected.
Even letting many 'computer techs' spec and build your system from scratch, in many instances, is like letting others aimlessly spend your money, IMHO. Here in my region, many 'techs' have no clue what MSFS even is and cannot be bothered to research the sim on their own time to properly match everything up. So let the techs do the building, but you do the speccing and research. Lots of helpful advice in the forums here and sites like Avsim, Orbx etc.