The director and co-screenwriter had a vision of a dystopian future that now seems disturbingly prescient.