Blend onion and garlic in a food processor until finely chopped. Add artichoke hearts and water chestnuts; process until chopped. Add spinach, Parmesan cheese, process until well incorporated. Transfer mixture to a nonmetallic bowl.
Blend cream cheese and sour cream in the food processor until smooth; stir into artichoke mixture.