Unable to read object properties with AppleScript: "Music got an error: Can’t get properties of current track."
I'll summarize the discussion here:

current track for streaming songs is broken in big sur, refer here
current track only works for local files, refer to @user3439894 and here

And I had verify that if you download the songs in Music and then play it, you can successfully get the info.