What's the "stupid behavior"? Some Apple stores have been robbed. Apple got video footage of the robbery and setup a system to look out for the suspect and alerted authorities when the suspect entered the store. It's no different than an FBI wanted poster. The knee jerk reaction of anti facial recognition has gone overboard.
Also, it's also not entirely clear but the article suggests that the person had used a stolen ID of the arrested teenager, which makes the arrest all the more reasonable:
> Apparently, the real perpetrator used a stolen ID that had his name, address and other personal information
Finally it's worth noting that Apple didn't arrest the person, the police did. Apple likely just notified them and then the proper due process happened