The elliptic Kirchhoff equation in $\mathbb R^N$ perturbed by a local nonlinearity