Come now, risc processors have been used for three decades now, the compiler guys are really really good at generating quality code for all of them.
As for the "more ram" for code, that's not necessarily true either, as all risc instructions are fixed (2 or 4 bytes depending) while the intel instructions can be much longer than 4 bytes; plus the variable length instructions on x86 complicate instruction decoding and make out-of-order execution more complicated.
Fact is that the Apple Aarch64 processor is better than the intel processors in almost every way, including performance per watt.