They last that long because the state or taxi cab company has a team of technicians that work day and night on them to keep em on the road.
I’ve been to a fleet repair center in Maryland where a friend of mine takes his on duty/take home police car every few weeks to get it fixed or get a new one. 100’s of broken down crown vics, impalas, luminas and tahoes.