Fungi are not plants though. Fungi are actually more closely related to animals than plants [1][2]. Plants not getting cancer is irrelevant when talking about cancer rate in mold/fungi.
[1] https://en.wikipedia.org/wiki/Opisthokont [2] https://en.wikipedia.org/wiki/Eukaryote