Activision Blizzard and a group led by chief executive Bobby Kotick have agreed to buy out most of Vivendi’s stake in the biggest US video-game publisher for $8.17bn (€6.15bn), ending five years of control by the French media and telecommunications company.