Sweden-based Spotify Technology SA has agreed to buy podcast advertising and publishing platform Megaphone, it said on Tuesday, the latest in a series of a deals to boost its podcast platform.