The Ringworld spins very quickly to create gravity for its inhabitants, even though its shape cancels out any real gravity its mass produces (as all its inhabitants are on the inside surface of the ring).
Hermes has a habitat ring that generates artificial gravity by spinning.
The Hail Mary splits into two sections connected by cables, then spins end-over-end to create artificial gravity in a very small ship.