Please save your songs from Spotify/Google Play Music to CSV file.
Then Import CSV into iTunes:
- Open iTunes 12.2.2
- Make sure you have Apple Music enabled and are logged in correctly to your account.
- Go to File > Library > Import Playlist and pick your_playlist.csv
- iTunes will take a few moments to match the songs and a new playlist should appear with your songs.