How Xbox learned to sell its consoles like smart phones