Apple restores internal apps of Facebook and Google amid privacy flap