HDMI has a feature called CEC which can control inputs, volume, channels, basically everything a normal remote can, but over the existing cable and connection. https://en.wikipedia.org/wiki/HDMI#CEC
My Toshiba TV and my Onkyo receiver both support it. It's not a cost/licensing issue since it's built into HDMI and Pulse-Eight makes a USB CEC HDMI passthrough adapter and provides a libCEC library: http://www.pulse-eight.com/store/products/104-usb-hdmi-cec-a...
PS3 supports it. Although not when the youtube app is running for some reason. When I turn my TV on, the PS3 starts automatically and I can use the remote to navigate menus and Netflix.
It's worth noting that each consumer electronic manufacturer has its own name for CEC, rather than using the generic term. This, despite good compatibility between manufacturers' implementations.
From the Wikipedia page linked by the parent:
Trade names for CEC are Anynet+ (Samsung), Aquos Link (Sharp), BRAVIA Link and BRAVIA Sync (Sony), HDMI-CEC (Hitachi), E-link (AOC), Kuro Link (Pioneer), CE-Link and Regza Link (Toshiba), RIHD (Remote Interactive over HDMI) (Onkyo), RuncoLink (Runco International), SimpLink (LG), T-Link (ITT), HDAVI Control, EZ-Sync, VIERA Link (Panasonic), EasyLink (Philips), and NetCommand for HDMI (Mitsubishi).