This question is somewhat linked to this one -- in fact, I meant to ask the following:
Let $\mathcal{M}_n$ be the multiplicative monoid of $n \times n$ matrices on $\mathbb{N}$ (including $0$). Let $M_1, \ldots, M_k \in \mathcal{M}_n$ and suppose the monoid generated by each one of them is finite. Is the monoid generated by all of them periodic (i.e. such that any of its elements generates a finite monoid)?
I hope I got it right this time. Sorry for the noise.
Thanks!
In fact, using the two examples in your comment provides a counterexample.
Let $A = \begin{bmatrix} 1 & 0\\1&0\end{bmatrix}$ and $B = \begin{bmatrix}0&2\\0&0 \end{bmatrix}$.
As you mention, $A^2 = \begin{bmatrix} 1 & 0 \\ 1 & 0\end{bmatrix}$ so $A$ generates a finite monoid. Likewise, $B^2$ is the $0$ matrix so this generates a finite monoid.
However, the monoid generated by $A$ and $B$ is not periodic: the element $BA = \begin{bmatrix} 2 & 0 \\ 0 & 0\end{bmatrix}$ doesn't generate a finite monoid since $(BA)^n = \begin{bmatrix} 2^n & 0\\ 0 & 0\end{bmatrix}$, which is distinct for each $n$.