Apple's privacy focus started long before the current AI wave. It got major public attention in the fight with the FBI over unlocking the San Bernardino shooter's phone. I don't think Google's equivalent even existed at that point.