SAN FRANCISCO (Reuters) - Apple Inc will buy Beats for about $3 billion and bring recording mogul Jimmy Iovine into its ranks, hoping to win points with the music industry and help it catch up in fast-growing music streaming.