You got an Xbox One X for $20?! Even with this error, that's a bargain. I think I paid maybe £80 for an original Xbox One with this error at some point, although it was a Forza limited edition.
If a factory reset hasn't helped, it might be a hard drive failure - so you could try opening it up and replacing the hard drive.