Ek’s company has accomplished that thanks to a shrewd cocktail of cost-cutting and subscriber growth, even as it raised prices for the second time in a year. Spotify’s next pursuit?