https://archive.org/details/UsmcSmallWarsManual1940Reprinted...
SF have been using horses in places like Afghanistan for the past 2 decades and while DARPA is working on a robotic mule the DoD has brought in consultants to advise them about actual mules.
You'd be surprised what the military still does with animals, the Army even still has the U.S. Army Veterinary Corps with 700 something veterinarians for dogs, ceremony horses, working animals etc.
[0] https://www.forces.net/services/tri-service/leading-charge-t...
Also a related BBC article with more background: https://www.bbc.com/news/uk-scotland-highlands-islands-22951...
"The figures don't necessarily mean we have got too many horses, it's more likely the figures mean we don't have enough tanks."
Edit: Mind you, on reflection, 485 horses does seem rather a lot.
I'm not vouching for the authenticity of this story, but it is a good story none the less.