A man with a knife killed a woman and her dog at a San Dimas park before he was knocked unconscious by a good Samaritan.