Treadmill or exercise bike