Hrm. How so? HomeKit does not allow third party devs to write apps to control HomeKit devices, AFAICT. So they never added the capability that Google is removing. People can still develop devices that are triggered by Nest and Google Home. They just can no longer write apps that themselves trigger or modify Nest devices.
Or are you saying it's prescient because Apple saw that such capabilities were not economically viable in the long run, and so it was prescient of them to never develop the functionality in the first place?