-x · suffix1
The letter x is prototypically pronounced [ks] in English; it therefore serves as a convenient shorthand for the digraphs (cs, ks, etc.) or trigraphs (cks etc.) that would otherwise represent that consonant cluster.
-x · suffix2
From the use of x as a neutral or nonspecific placeholder.
Etymology from Wiktionary, CC BY-SA 4.0.