NEW YORK (AP)—A racist ideology seeping from the internet’s fringes into the mainstream with the help of the right-wing media and Republican politicians is being investigated as a motivating factor in the supermarket shooting that killed 10 people in Buffalo, N.Y.