Streaming-audio giant Spotify shelled out around €300 million, or about $337 million, to buy two podcasting companies — producer Gimlet Media and services provider Anchor FM Inc., the company said.