You can only use Ice Knife on a living thing. Some spells, like Eldritch Blast, make this clear, while others, like Fire Bolt, make it clear that you can target an object. Ice Knife is a spell that must have a living thing as its target. When a Dexterity saving throw fails, the area of effect cold damage can only hurt creatures, not things.