Here is a result of a similar, but not exactly the same, nature. Suppose $M$ is a strictly positive matrix (that is, all entries are real and strictly positive) and none of the nonnegative-entried $A_i$ have a row of zeros or a column of zeros. Then the sequence $(MA_i)$ is weakly ergodic (which is, I think, what you mean by converges to a line?); that is, there is a unique harmonic function on the system. This is a consequence of results in section 5 of
D Handelman [me], Eigenvectors and ratio limit theorems for Markov chains and their relatives, Journal d’Analyse Mathématique, December 1999, Volume 78, Issue 1, pp 61-116.
This criterion has almost nothing to do with integer entries. However, the idea is pretty simple; use the Birkhoff metric on strictly positive matrices.
If we weaken the condition to $M$ merely being primitive but not strictly positive, then there exists a sequence of $A_i$s with no zero rows or zero columns such that $(MA_i)$ is not weakly ergodic. This can probably be arranged with the $A_i$ in $GL(n,Z)$ as well, but I haven't thought about it (much).
In your notation, you are using forward products, while the reference refers to backward products, but the results are equivalent.