The Ubiquity hub is powered by either PoE (leaving 4 ports for user devices) or USB-C. It doesn't provide any PoE or USB-C power outlets for user devices. So given it's modest power demands, it and a power adaptor could fit in a laptop bag.
The Cisco hub is obviously trying to limit the proliferation of desktop power outlets. However, as noted by others it is an ugly box to have on any desk outside of an electrical engineering lab.