An investigation has been launched by NSW Police after a spontaneous labour at home took a devastating turn, leading to the death of a newborn boy.