Self-extracting crank bolts, male-threaded spindle

I need a 22mm male-threaded spindle …
I could do with a bearing puller but they are quite expensive for a one time use.

I’m trying to fix my exercise bike, it’s one with a magnetic system that spins without increasing effort, I can hear the step-motor move up and down, sometimes it works for a minute or so but than stops like a free-spin.

To remove the side panels I need to take off the pedals first.