1. Select the planet with structures you want to rotate (not structures themself).
2. Press Advanced Planet Actions button.
3. Click Rotate Planet Orbital Structures.
4. Move the mouse cursor to see how the positions of buildings change.
I think the keybinding would also work when the planet is selected.
I hope this helps!