Suppose $x$ is a positive real number and $a$ an integer. On the one hand, one has $$ x^{0} = x^{a-a} = x^{a} \cdot \frac{1}{x^{a}} = 1\tag{1} $$
On the other hand, $x^{\frac{1}{3}}$ is a number such that when multiplied by itself $3$ times it gives $x$. For instance $$ (2)^{1/3}\cdot(2)^{1/3}\cdot (2)^{1/3}=2. $$
More generally, $x^{\frac{1}{m}}$ ($m$ being some positive integer) is a number such that when multiplied by itself $m$ times, it gives $x$: $$ \underbrace{x^{\frac1m}\cdot x^{\frac1m}\cdot\cdots \cdot x^{\frac1m}}_{m\text{ times}}=x\tag{2} $$
In the same way, since $\frac{1}{\infty}=0$ and thus by (1), $$ x^{\frac{1}{\infty}} =x^{0} = 1, $$ I should expect that $1$ is a number such that when multiplied by itself infinitely many times, it gives $x$, which is not true when $x\neq 1$.
Question: Something must be wrong. But how should I understand the discrepancy above?
Background assumption: the question above was asked by a high school student without having taken a rigorous course in real analysis. I'm looking for answers to students with such background.
[Added later]
The word "discrepancy" in the question refers to the following two seemingly contradictory observations by the student:
Using the logic in (2), one may expect that $$ \underbrace{x^{\frac1\infty}\cdot x^{\frac1\infty}\cdot\cdots \cdot x^{\frac1\infty}}_{\infty\text{ times}}=x\tag{3} $$
On the other hand, $\frac{1}{\infty}=0$ implies that $$ \underbrace{x^{\frac1\infty}\cdot x^{\frac1\infty}\cdot\cdots \cdot x^{\frac1\infty}}_{\infty\text{ times}}= \underbrace{1\cdot 1\cdot\cdots \cdot 1}_{\infty\text{ times}}=1\tag{4} $$
When $x\neq 1$, (3) clearly contradicts (4).
You can't ever really divide by $\infty$, only an arbitrarily large number $N$. (in the same way that you can't divide by $0$ but just a small $\epsilon$)
You can explain this rigorously using limits but it's probably better to tell a high school student to not divide by $\infty$ or $0$.