As another poster said, a $400 Xbox will very probably run FS2020 better than a $400 PC - Microsoft subsidizes the Xbox just like Sony subsidizes the PlayStation.
But for best performance and visuals all around, best bet will be a PC. It will cost you significantly more, though, and will be a more involved setup, etc.
It’s a tradeoff. No easy answers unless your questions are how to get the best visuals and most complete experience period, or how to get the best experience for minimum amount of money. Between those answers is a lot of gray.