There's an easy solution to this: create a two-tier society in which the wealthy, highly educated, and highly productive / inventive are permitted to exist under relative freedom in "economic development zones" or similar while the rest of the population is kept under totalitarian rule.
In other words create comparatively free theme parks for the professional class.