We need to show that $\exists a_i$ s.t. $a_i^m | x_i$ where $x_1, x_2 \ldots, x_n$ are $n$ consecutive natural numbers and $a_i \neq 1$, for $1\le i\le n$. Thus, $a_i$ is divisible by at least one prime, let $p_i$ be the smallest prime dividing $a_i$. Notice that $p_i^m|x_i$. So, we will concern ourselves with $x_i$ divisible by $m$th power of a prime.
Define:
$$p = \prod_{i = 1}^n p_i^m$$
Given any integer $m$, we prove the claim by inducting on $n$. (The proof does not specifically use $m$, hence there is no need to induct on it.)
For $n = 1$, the problem is trivial: take $x_1 = 2^m$. Suppose the claim is true for $n = k$, i.e. $\exists$ prime $p_1,\ldots p_k$ s.t. $p_i^m | x_i$ for $1\le i\le k$, where $x_1< \ldots< x_k$ are consecutive positive integers.
Let $y_i = x_i + zp$, and $y_{k+1} = y_k + 1$. We will find an algorithm for finding a non-negative integer $z$ s.t. $y_{k+1}$ is a multiple of $m$th power of a prime.
Let $q$ be the smallest prime larger than $x_k$. Singe $\gcd(p,q^m) = 1$, by Bezout's Lemma we conclude that $\exists u,v \in \Bbb Z$ s.t :
$$up + vq^m = 1$$WLOG assume $u\le 0$, then we have
$$u(-1-x_i)p \equiv -1 - x_i \pmod{q^m}$$Setting $z = u(-1-x_i)\ge 0$ we observe that:
$$\begin{aligned}y_{n+1} &= x_n + u(-1-a_i)p + 1\\ &\equiv x_n -x_n - 1+1 \pmod{q^m}\\ &\equiv 0 \pmod{q^m}\end{aligned}$$
Thus, $q^m|y_{n+1}$ which completes our proof.