Songs are becoming shorter as artists tailor their tracks to fit the algorithms of TikTok and Spotify