Doctors raced Monday to save survivors of New York City’s deadliest fire in three decades as authorities began investigating how thick smoke could billow through the high-rise, trapping many families inside and killing 17 people, including eight children.