Oh, how times have changed.

Apple CEO Steve Jobs announced at May's Worldwide Developer Conference in San Jose, Calif., Mac OS X will come with a full implementation of Sun Microsystems Inc.'s Java 2, Standard Edition. It will be the only high-volume OS that does so

Oracle screwed themselves lately, the licensing push basically started IT departments with exterminating Java and anything related to it.

You may have misread: Java will keep supporting ARM macOS, they're just deprecating Intel macOS. Also this is a decision taken by the JVM team, not Apple; the latter simply deprecated their Intel platform first.

With regards to the last bit, Apple hasn't shipped Java as part of the OS in ages.