Roku remotes are sophisticated devices. There are many models, so features vary, but among the possible features are 3.5mm audio output, Bluetooth audio, voice command input, Wi-Fi, infrared, battery charger and other things. Clearly a substantial MCU is present and thus, an RTOS.