Sun never had the volume Apple does. SPARC was far from competitive with x86 in its later days, unlike Apple's A-series chips.
Transmeta? I was there from ~2001 until we closed the doors. What some people still don't understand was that Transmeta's failure was a business failure, not a technical one. When Crusoe launched it had greater power efficiency than Intel's chips. Intel has _officially_ credited Transmeta with kickstarting Intel's focus on power. Execution and business failure cost Transmeta to slip more than a year at which point opportunity and customer goodwill had sailed. Someone really should write a book about all the drama.
What do you think about wasm?
I have been around compiler internal formats and "bytecode" representations since the mid 80es. WASM is simply brilliant for what is designed for. I'm particularly in love with the structured control flow (key for enabling 1-pass translation). I used a block structure IR a compiler IR in the mid-90es. (EDIT: am I being trolled?)
I think wasm will be the portable bytecode we have all been promised. It will literally run our flying cars.
It also melts away the need for an MMU and because of that, the operating system. Requiring an OS, kernel/user code is no longer referentialy transparent, but with wasm, you can basically have an infinite number of hypervisors.
So, yes, they learned. I suspect they will ship an x86 emulator as they did with Rosetta, additionally.
I hope Apple learns from Sun's mistakes.
Also, somewhat related: does anyone remember Transmeta? They were about a decade too early but their ideas on low-power, low-heat x86-compatible mobile-friendly processors were pretty cool. https://en.wikipedia.org/wiki/Transmeta