Meet: The Domestic Transformer.
I came across a video of this very small (330 square ft) apartment. The owner of the place is the architect Gary Chang. He grew up in a tiny apartment himself which actually inspired him to create the flexible apartment.
The way it works looks actually pretty simple. By using sliding walls, fold-down tables and chairs he is able to transform his bedroom into a kitchen, his kitchen into a bathroom, his bathroom into a study and so on. In total, he can create 24 rooms in this small space!