In F1 the prize money is so much for the top teams that together with other sponsorship revenues and the promotion for the brand it's almost a no-brainer for them to compete there.
But I doubt there is much excess in WRC once the costs of running the circus, especially All-Live are taken into account.

