Ah, I've seen something similar on a G4 Cube logic board (not, mine, it was posted on another forum). It was
this thread. The images were online less than a week ago, but not anymore... I've searched in case I had downloaded the image but no luck. Still, I remember them looking exactly the same and the colours of the diodes/current regulators mentioned in that thread match yours.
EDIT: Aha! I found the wrong thread, although it mentioned the same thing, so it might be a somewhat common modification.
The thread I was referring originally was this one. As you can see, the soldered components look exactly the same as yours.
EDIT2: I have also noticed that some ICs on the logic board picture of the second thread are different than those on my Cube. In the second thread someone says:
That seems consistent with my findings (the logic board differs from mine, which was manufactured well into the Cube's life).
About the specific electrical reasons behind soldering those, I don't know. In the case of the Cube, both ICs are LMJ2679 but the other label differ from JM03AB to JM05DV. The datasheet is
here, but it doesn't mention different versions.