The left side is positive, thus any real root will be positive. $x=0$ is not a solution.
If you multiply everything out you find that the polynomial is symmetric under degree reversion, so with some root $x$ also $x^{-1}$ is a root.
If you divide by $x^{2021}$, the left side will turn into a convex function with a minimum at $x=1$, while the right side is constant.
By inspection, $x=1$ is a solution.
Being a minimizer makes the root at $x=1$ into a double root. There are no other roots.
The polynomial equation can also be written as
$$
0=\sum_{k=0}^{1010}(x^{2k}-2x^{2021}+x^{4042-2k})=\sum_{k=0}^{1010}x^{2k}(x^{2021-2k}-1)^2
\\
=(x-1)^2\sum_{k=0}^{1010}x^{2k}(x^{2020-2k}+x^{2019-2k}+...+x+1)^2
$$
which again is twice the linear factor for $x=1$ and then a positive factor with no additional root.