There is no shortage of general-purpose computing hardware in the EU. If you need some general-purpose compute to make a car, an oven, or a phone, you can get it. That consumers mostly buy special-purpose devices that don't always allow them to make full use of the possibilities of the hardware is hardly a sovereignity challenge.

Show me where I can get a general-purpose computing hardware with 8GB+ of RAM that fits in my pocket and has a touchscreen.

Fairphone? https://www.fairphone.com/the-fairphone-gen-6#f_slide_1

But also, I doubt any polity would have its sovereignty undermined if their general-purpose computing hardware doesn't fit into their pockets.

My recently-purchased Google Pixel 10 Pro has an unlockable bootloader. (Although it may be locked if you buy it through a provider).

And, for a nominal one-time payment, you can register as a developer, and compile, install and run absolutely anything you want on a non-rooted Android phone with a locked bootloader (within the constraints of the security system, which is, of course, A Good Thing).

You mean like the dozens of micro laptops/emulator handhelds from china that can all run linux or hobbyist custom roms?

Gonna have to post the storage dimensions of your preferred pockets.

and a 5g radiotelephony MODEM.