How can I stop my air drying clay from losing its shape as it dries?
You could use a support armature to hold up your sculpture while it dries.

I notice, in your photo, there is something that looks pink icing. That might be how that artist hid where the armature was inserted to hold up their sculpture. After the sculpture dried the armature was removed and the hole that was left behind was hidden by the icing.