NEW YORK (Reuters) - IBM is in talks to buy Sun Microsystems Inc, sources with knowledge of the matter said, a move that could bolster the technology giant against rivals in the high-end computer server and software markets.