I can't understand what exactly is in this dream you want to become true. It sounds like you want a portable device with physical keyboard, and reasonable screen size. Which is laptop.
When good keyboard, and decent-sized screen are priorities, "fits into pocket" is (self-)deception as they presumably will be carried in a backpack anyway. In other words it's unwieldy laptop one part of which fits into pocket.
Alternative is to hope for keyboard and screen to be present at special places. Which however means that practical portability is very limited. Also it would affect security, personal ergonomics etc.
I assume it's something like mine. I want a phone I can dock and use as a desktop with a monitor and mouse/keyboard. That is just a phone when undocked.
We have reactive UIs and desktop mode on android. It's getting very close. I am not certain on the previous commentors reasons but I detest the many device game. A 500 dollar pixel 10a is a great computer and I would rather not buy another machine if I dont have to.
And if every iPhone was also a Mac when attached to a monitor and keyboard, monitors and keyboards would become entirely common - as with the hotel example.
My iPhone 15 Pro Max is more capable than a MacBook Neo; it’d be nice if it could be one.