x86 isn't that good. RISC-V has similar code density as amd64 while being fairly simpler.
There's not much appeal to x86 as an ISA, other than for running legacy software.
Most "legacy software" can be rebuilt from source code.
For software where the sources aren't available, there's only a small subset where performance is the main priority. The rest can be handled through emulation.