German police said Sunday they had shot and killed the chief suspect in what officials described as a deadly Islamist attack near the Berlin Pride parade the previous night, the latest ramming assault to hit the country.