Solution by OronSH.
We claim f(x)=x is the only solution.
Denote the assertion by P(x,y). Note P(0,y) gives f(2f(0))=yf(0), so f(0)=0.
Assume x,y=0 and take P(x,xy2). We get f(f(x2)+f(y2))=x2+xy2f(x), so by symmetry the right side is equal to itself with x,y swapped. Simplifying this equation we get x3f(x)−x21=y3f(y)−y21, hence f(x)=cx3+x for some c.
Now P(x,0) gives f(f(x2))=x2, but if c=0 then the left side has degree eighteen and the right has degree two, contradiction. Hence c=0 so f(x)=x as desired.