(Reuters) - Chipmaker Marvell Technology Group Ltd said it would buy smaller rival Cavium Inc in a $6 billion deal, as it seeks to expand its wireless connectivity business in a fast consolidating semiconductor industry.