A robot riding a bicycle seems incredibly impresssive. Is there something I missed in that video?
It's a pretty simple system, not super hard to get the Euler Lagrange for the system and the control can be done by a simple controller:
In this research, a small humanoid robot and a bicycle of comparable size are constructed and the proposed controller can automatically counteract the mass imbalance in the system and allow the robot to perform straight-line steering. In this research, a small humanoid robot and a bicycle of...
www.semanticscholar.org
Doubt the robot have much many more sensors than a gyro and the motors.
Basically you start from 3 points and the mass between the points -> stable system and as soon as you get some motion you get the gyro effect helping to maintain the balance. Then once you are balanced you can steer the system slightly to the side by just leaning some mass to that side.
Tesla bot needs vision->state estimation which is tricky. Then it needs to move its arms and manipulate objects adding lots of disturbances to the balance problem.
The robot on a bicyle is a fun student project. Think me and my friends could have solved it when we were students. Fwiw we built this robot back in the days:
These kind of robots are not super hard to build if you know some basic euler lagrange and linear control theory. Basically just derive a few equations of system, simplify the system into point masses etc, linearize the *sugar* out the system(sin x = x, cos x = 1 etc), let mathematica or something solve what's left, do inverse kinematics on the system, find some clever way to deal with any complications, set up a low level and high level controller, get it into C code somehow, put it on the embedded controller, troubleshoot the system and boom it works. ^^