A gunman wearing military-style clothing and body armour opened fire with a rifle at a supermarket in Buffalo, New York, killing at least 10 people before being taken into custody Saturday afternoon, law enforcement officials told The Associated Press.