Statement:
$$S_n=\frac{x}{1-x^2}+\frac{x^2}{1-x^4}+\frac{x^4}{1-x^8}+\cdots+\frac{x^{2^{n-1}}}{1-x^{2^{n}}}=\frac{x-x^{2^n}}{(1-x)(1-x^{2^n})}\tag{1}$$
How did I invent formula (1)? By adding a few items by hand and looking into the pattern that started to emerge. Let us prove it by induction:
For $n=1$:
$$S_1=\frac{x-x^2}{(1-x)(1-x^2)}=\frac{x}{1-x^2}$$
So the statement is true for $n=1$.
Now the induction step:
$$S_{n+1}=S_n+\frac{x^{2^{n}}}{1-x^{2^{n+1}}}=\frac{x-x^{2^n}}{(1-x)(1-x^{2^n})}+\frac{x^{2^{n}}}{1-x^{2^{n+1}}}$$
$$S_{n+1}=\frac{x-x^{2^n}}{(1-x)(1-x^{2^n})}+\frac{x^{2^{n}}}{(1-x^{2^{n}})(1+x^{2^{n}})}$$
$$S_{n+1}=\frac{(x-x^{2^n})(1+x^{2^n})+x^{2^{n}}(1-x)}{(1-x)(1-x^{2^n})(1+x^{2^n})}$$
$$S_{n+1}=\frac{x+x^{2^n+1}-x^{2^n}-x^{2^{n+1}}+x^{2^n}-x^{2^n+1}}{(1-x)(1-x^{2^n})(1+x^{2^n})}$$
$$S_{n+1}=\frac{x-x^{2^{n+1}}}{(1-x)(1-x^{2^{n+1}})}$$
Done.