A newborn baby has died after being left at a bus shelter, and police have arrested a woman as the investigation continues.