Example where closure of $A+B$ is different from sum of closures of $A$ and $B$
It’s also possible to find examples in $\mathbb{R}$. For instance, let $A = \{n+\frac1{2n}:n \in \mathbb{Z}^+\}$, and let $B = \{-n:n \in \mathbb{Z}^+\}$; clearly $A$ and $B$ are closed. $A$ contains no integer, so $0 \notin A+B$, but $A+B \supseteq \{\frac1{2n}:n \in \mathbb{Z}^+\}$, so $0 \in \operatorname{cl}(A+B)$.
Note that it’s never possible to take $A$ and $B$ to be compact: if $A$ and $B$ are compact subsets of $\mathbb{R}^n$, $A \times B$ is a compact subset of $\mathbb{R}^{2n}$, and its continuous image under addition is a compact and therefore closed subset of $\mathbb{R}^n$. Thus, all such examples must involve unbounded sets.
Take $A=\{1,10,100,\dots\}$ and $B=\{-0.9,-9.99,-99.999,\dots\}$ in $\mathbb{R}$.
Dave Rusin gives a counterexample in $\mathbb R^2$ at http://www.math.niu.edu/~rusin/known-math/95/closed.djr, namely $A=\{(x,1/x):x\neq 0\}$ and $B=\{(x,-1/x):x\neq 0\}$, with the comment, "Find a point not in $A+B$ which lies in the closure of $A+B$," to lead you to the proof that this is actually a counterexample. (Note that $A$ and $B$ are closed in this example.)