Festivals mitigate risks of artist cancellations through robust contracts with financial penalties for unjustified withdrawals, having contingency plans to curate alternative artists, and implementing strong operational management to avoid issues like poor site planning or inadequate facilities.