The legal fight pitting the Obama administration against Apple ended unexpectedly after the FBI said it used a mysterious method without Apple's help to hack into a California mass shooter's iPhone.