They were giving away music because that was always a feature of Baidu that they had been hurting for not having. Last I heard they had gained up to ~25% market share. 25% of a market that large and with that much potential is enough to run an entire company off. I don't buy this narrative that they tossed it away out of some petulant "If I can't dominate this market I won't try" motive.