The FBI has been called in to investigate a shooting at a California Islamic centre, which authorities are treating as a hate crime.