A giraffe has fallen to sleep while standing up.