Can’t think of any non-Musical songs that haven’t been named yet, but there are a bunch of SF musicals (and if you include fantasy, there are a TON more than I’ve listed). All of these have SF songs:
The Rocky Horror Picture Show
Shock Treatment
Metropolis was turned into a surprisingly good musical
It’s a Bird, It’s A Plane, It’s Superman! really isn’t an SF musical, even though it should be. And it only has one good song. (A young Linda Lavin is fiddling with the buttons on Clark’s shirt as she sings about how “underneath” there’s a real man)
James Tiptree’s “The Girl Who Was Plugged In” became 1/2 of the musical Weird Romance. (The other half, “Her Pilgrim Soul” is a so-so fantasy work). This musical is excellent.
Starmites is a (mediocre) Space Opera musical,
Starmania is in French, so I’m not sure what it’s about…but the bits I’ve understood and the pics I’ve seen are clearly SF
um…
Journey To the Center of the Earth was a cast album.
Not SF at all, but it has an SF feel in a Soylent Green sort of way: Eating Raoul, The Musical
Oh yeah: one last (sort of) SF musical. Are radioactive, undead Prom dates considered SF? If so: Zombie Prom
“I Sing The Body Electric” from Fame has the same title as a Bradbury short story collection, but they both swiped the line from the poem by…um…Whitman?
There was also, if you stretch the definition a lot, a Spider-Man concept album called “Reflections of a Rock Super-Hero” which is unGodly bad. I mean, peel the paint from the wall bad. You’ll have nightmares.
Fenris