Why do airlines want to invest in other carriers?

Qatar has upped its stake in IAG since the Brexit result. Why do airlines sometimes choose to back their competitors?
By Business Travel iQ /