In class last week, one of the students wanted to know if there were any works of science fiction based on Shakespeare's plays. Only one obvious example came to mind.
The 1950s science fiction film, Forbidden Planet, is loosely based on Shakespeare's The Tempest.
But aside from this one example, I couldn't come up with any other science fiction films or novels that are obvious derivatives of Shakespeare plays. Of course, there a many titles of science fiction novels taken from Shakespeare, including:
Time Out of Joint, Philip K. Dick (quite enjoyable -- less hallucinogenic than his later work)
Brave New World, Aldous Huxley
Something Wicked This Way Comes, Ray Bradbury (really fantasy, not science fiction, but I'll give it a pass because I enjoyed reading it).