Correct option is B
Logic:
Companion, Partner and Colleague are synonym for a mate or friend.
Whereas Rival is antonym of friend.
Rival is the odd one because it signifies competition or conflict, unlike the others, which imply cooperation or association.
Thus, Rival is the odd one.