To turn off your Roku, you'll probably need to unplug it. The only exceptions are the Roku 4 and Roku TV, which you can turn off regularly.
To turn off an Apple TV, you'll need to either unplug it or activate Sleep Mode, which will help save power.