The world is going towards to translate any code to the architecture of the chip and then run, like on Apple M1 from x86. The first time it may be slower but afterwards it will run at a very good speed. So, not only Microsoft is writing apps generically and then compile them on x86 / ARM but many others (even free apps sometimes offer x86 / ARM).
ARM has much more chance to win over x86 than the opposite: ARM is on phones, tablets, Samsung and iPads, and even Apple laptops already run on it. So almost all devices worldwide use ARM; for a programmer makes much sense to optimize for ARM as for x86.
The only exception: games. High-end consoles use x86 and gaming PC also. So on this matter AAA titles will still be optimized for x86. But as GPUs on ARM SoCs are getting very powerful, it makes sense that slowly they start doing both x86 and ARM executables.
I have an M1 Mac Mini and it's abysmal what that small chip and apple on macos achieve. Excellence. Apple: please focus now on games too..