Warning - Rationalization ahead: I would like to think that the reason for a lot of the petty jabs were to dominate the echo chamber for his own benefit. Is it possible to think that he is an ego-maniacal self serving sociopath? Absolutely.
But, is it also possible to believe that he used the system against itself to further his candidacy and tap into a deep seated anger within the population? Probably.
And do we really think he wants to watch the world burn? Doubtful.