A bid to free five elephants from a Colorado zoo has been rejected after a court ruled elephants are not people.