It seems exactly the opposite to me: Herbert didn't want robots etc in Dune, so he came up with a religious figleaf to justify this.