The horse who played Artax in "The NeverEnding Story" was named "Atem". He did not die during filming or as a result of his work on the film.
The story that Atem died during production is a myth that has circulated online and has been widely debunked. No credible sources support this claim.
Animals used in film are typically cared for by handlers and veterinarians. Atem, like the other horses in the movie, went on to live a long and healthy life after filming wrapped.