KVM Edition
There are multiple levels of insanity to this idea.
Level 1
In addition to having 2 USB-C ports one of them can be used to connect the keyboard to a PC. The keyboard will then disconnect from the phone and instead connect to the PC. This can be very handy for headless servers and other equipment.
Level 2
For headless servers you still need the "head". So the keyboard will expose a monitor to the server over the Displayport alt mode of USB. This display will be attached to the smartphone as a camera. You can then use a dedicated KVM app to display that camera/display of the connected computer.
Level 3
This should be straight forward if level 2 is already achieved. While the KVM app is open, the phones screen area can act like a touchpad and mouse movements can be send to the connected PC. This gives you full KVM capabilities everywhere you go via the phone you have in your pockets anyway.
The ultimate tool for engineers working in datacenters, networking or any other context where a lot of headless systems are used. You could even use it to administer your fleet of Raspberry Pis! :D