Basically where people use optos is normally because they don't want a common ground and want isolation (between a low voltage MCU circuit and a high voltage circuit eg. mains control, projector bulbs etc). For MIDI you also use optos rather than a common ground.
...and not always just between low and high voltage circuits - you may want such isolation if one side of the circuit is producing a lot of back-emf noise, that, no matter what you do with caps and such, you can't filter out. Large brushed DC motors come to mind; you may not be able to filter out all of this noise, and it could leak back on a common ground, causing all kinds of havoc (or even damage) to the lower voltage microcontroller side of things. Isolation is a safe bet, then. Then there are the times where one side of your circuit is operating in a high-voltage noisy environment (think digital control of a Tesla coil, perhaps) - here again, isolation using optos can help.
I suppose one can call both of these examples a "high-voltage" side, especially the second example. However, the first example may not be immediately thought of as "high voltage", depending on what the motor's voltage and current rating are, and how much back-emf it generates (especially on start up)...
