Walmart Inc. said on Tuesday it would discontinue sales of ammunition for handguns and some assault-style rifles in stores across the United States, in response to the recent mass shootings in Texas and Ohio.