When you make a flywheel rotate at a couple of thousands of rpm, then it will behave like a gyro, the rotating wheel will create a torque that will force the whole system to rotate and it won’t fall to the ground instantly.
This is why Derek Muller, from Veritasium, is able to lift the flywheel above his head while that wheel is rotating.
Interesting piece of physics demonstration.
Let’s learn a bit more about gyroscopic precession:
Also, the explanation for the first video in this blog post: