Stocks close mixed; Spotify buys podcast ad business; Apple unveils computers with in-house chips