How Causal Inference Can Lead To Real Intelligence In Machines