Sounds like a similar feature (“Sound Recognition”) that is coming in iOS 14. https://www.apple.com/ios/ios-14-preview/features/
It’s not clear from the article but I assume the Google implementation was pushed out to users and turned on by default (likely without a notification that the device would now start doing this). Since the iOS feature is listed under “Accessibility” I would assume that it’s opt-in.