The audio-streaming giant is among a growing number of companies relying on AI tools to write code for their platforms.