Both the blocks are the same. There was an update in the mask of the DC Machine block from MATLAB R2022b onwards. The same has not been reflected in the documentation.
Old Mask:
New Mask:
So, any graphical difference you see is purely cosmetic.
Hope it helped you!