This is not a space station module that generates artificial gravity, but the Kanzen Field Coil Loudspeakers field coil loudspeaker motor by Stefan Andrei Chelariu. Video here.
A similar motor to the one in the video can be seen in the photo on the left. As you can see, the 30″ driver motor is not that tall, but it is not compact either.
It requires a certain amount of copper wire in the field coil, so you can stretch and compress the motor structure as long as you can. With a slight advantage for the longer structures.