Music-streaming company Spotify cemented plans for its unusual initial public offering while revealing the financial particulars of a fast-growing company that upended the music industry and revolutionized how consumers listen—but spent heavily to do so.