Artificial intelligence and machine learning are helping firefighters, police officers, and EMS medics respond to emergencies and save lives.