WASHINGTON — The FBI’s announcement that it mysteriously hacked into an iPhone is a public setback for Apple Inc., as consumers suddenly discover they can’t keep their most personal information safe. Meanwhile, Apple remains in the dark about how to restore the security of its flagship product. The government said it was able to break into an iPhone used by a gunman in a mass shooting in California, but it didn’t say how.