Apple purchased Beats By Dre this week, suggesting the company is looking at smart headphone technology — headphones that can sense what the body is doing.