The following proof is related to $n$ divides $2^n-1$ $\implies n=1$. First, if any $n_i$ is $1$, the right side of the $i$'th expression becomes $1$, so the corresponding value on the left side must be $1$, with this then extending to all of the rest of the values. Thus, assume none of the $n_i$ values is $1$.
Let $p_i$ be the least prime factor of $n_i$ for $1 \le i \le k$. Now, consider your first expression, i.e.,
$$n_2 \mid (2^{n_1} - 1) \tag{1}\label{eq1A}$$
The multiplicative order of $2$ modulo $p_2$ must divide $n_1$. However, $\operatorname{ord}_2{p_2}$ also divides the Euler's totient function of $p_2$, i.e., $p_2 - 1$, so
$$\operatorname{ord}_2{p_2} \le p_2 - 1 \tag{2}\label{eq2A}$$
Since $2^1 - 1 = 1$, all of the multiplicative orders must be $\gt 1$. Thus, $\operatorname{ord}_2{p_2}$ must have at least one prime factor less than $p_2$. Since $\operatorname{ord}_2{p_2} \mid n_1$, this means
$$p_1 \lt p_2 \tag{3}\label{eq3A}$$
Repeating this with your next expression gives
$$p_2 \lt p_3 \tag{4}\label{eq4A}$$
Combining with \eqref{eq3A}, this then becomes
$$p_1 \lt p_3 \tag{5}\label{eq5A}$$
Continuing this until the second last expression results with
$$p_1 \lt p_k \tag{6}\label{eq6A}$$
However, using the original argument (i.e., that which resulted in \eqref{eq3A}) with your last expression gives
$$p_k \lt p_1 \tag{7}\label{eq7A}$$
This contradicts \eqref{eq6A}, which means the original assumption all of the $n_i$ are not $1$ must be incorrect. Thus, all of the $n_i$ must be $1$.