Apple patched a critical macOS Screen Sharing flaw after hackers gained root access and installed Monero miners on exposed Macs.