AI app apologises over false crime alerts across US