The original Tabata Protocol was designed for exercise bikes. However, the biggest challenge with doing tabata drills on cardio machines is the stopping and restarting between each interval.
Here’s a video demo of how to do it on a treadmill.
Note: please be careful when getting back on the treadmill. Always keep your hands holding the side handle bards until your feet get back up to speed with the treadmill.
(Note the video goes blank after 1:42 – sorry, but its just a demo of the principle)