On the fractal nature of the magnetic field energy density in the solar wind