Meet the Compatto TV: a revolving wall bed with a hidden murphy bed with an enclosure that fits TVs up to 60″ in size. Once you unlock the bookshelf panel, you can rotate it 180 degrees to access the bed. The TV and power cords are connected through the top of the bed and can be enclosed from the sides to hide them.
You can have this wall bed system customized before ordering. The bad news? Something like this doesn’t come cheap.