Apple buys Beats Electronics in $3 bil. deal