Non-surjective but injective real polynomial functions $\mathbb{R}^n\to \mathbb{R}^n$

Over algebraically closed fields $K$, the Ax–Grothendieck theorem (see also this thread) states that injective polynomial functions $K^n \to K^n$ in $n$ variables are surjective. Is there a simple counterexample for this statement for real polynomial functions i.e. $K=\mathbb{R}$?


The statement of the theorem holds even for $k=\mathbb{R}$. See the article

Białynicki-Birula, A., Rosenlicht, M.: Injective Morphisms of Real Algebraic Varieties.