Artificial intelligence could harm Australians' trust in the democratic process, the head of the nation's electoral commission says.