A few months ago Tesla finally released a new software update, which allows you to keep the climate control on, as long as the battery has at least 20% charge left. For a fully charged 75kW battery this means 48+ hours of AC or 24+ hours of resistive heating. Yepp, you read it correctly, all Teslas to date use a resistive heater for heating the cabin and batteries. The AC compressor is only used for cooling, unfortunately. It would be a smart move to use it for heating too, as it has a much higher efficiency (98% resistive vs. 300% compressor).
I don't know what kind of bed they used in the video above, but there are at least a couple of companies, which make foldable/inflatable mattresses for Teslas' every seat configuration.