Swiss police said on Saturday that an officer had shot and killed a Sri Lankan man after the man lunged at other asylum seekers wielding two knives.