Trump has purged dozens of Generals, the head Admiral of the Navy and Coast Guard, head of NSA and Cyber Command and many other top-level officials in the military
and there are only 1,000 women in various special forces (had to pass same physical tests as men) but he is trying to get rid of them all too
Now that is the mark of dictator, agreed
Xi was never elected to his position by the people of China.
Being a bad president isn't the same thing as being a dictator.
Trump is not a dictator, but not because he was elected, but because of our courts and federal system (and theoretically Congress).