In Kubrick's 2001 a Space Odyssey, the computer had a male voice.
In Star Trek the computer had a female voice.
Male when it's a psychotic machine. Female when it's an anodyne worker-bee.
Male when it's viewed as threatening or controlling.
Female when it's a domestic servant.
Odd coincidence.