You don't use a single supermagnet at the top of the shaft, you use lots of magnets all along the sides of the shaft. Think maglev. Or maybe railgun, for a slightly less pleasant mental image.
Presumably much the same way maglev trains work, there’s a rail or multiple rails the cabin is attracting/repulsing, which also acts as a linear motor.