Term: co-opetitor
Example: “realtors are rivals for listings and buyer clients but when they put them on mls, they cooperate which means that he or she becomes a co-opetitor
Definition: a co-opetitor is someone who competes with you but, sometimes, cooperates with you