While Ek’s words may have prickled Spotify’s outgoing employees, his ruthless move has won over investors.