A bit of both I'd expect. Art is inspired by need, while technology is informed by art.
See for example cell phones - wireless communication was the need, popularized in many sci-fi shows in more specific, imaginative forms, and later informed the actual product (flip phones/Star Trek communicators).