You are completely correct, this verse does not reference animals. So to answer the original question, the bible does not reference animals having a spirit and they definitely don't have an afterlife.
TMG Trigg brings famed Finnish metals refiner – and its tech – onboard to bolster antimony processing