Assuming the axiom of choice, the following can be shown:
- For any sets $A,B$ either $|A| \leq |B|$ or $|B| \leq |A|$ (see this question).
- There is a surjection $A \to B$ if and only if there is an injection $B \to A$ (see this question).
Then if you show that there is no surjection $A \to P(A)$, the second point implies that there is no injection $P(A) \to A$. Hence the first point implies $|A| \leq |P(A)|$.
So you could prove Cantor's theorem that way, but you would need to assume the axiom of choice, which people often prefer not to use if it is not necessary.