The world’s largest coal company said that waning demand and stiffer regulations had raised doubt about whether it could continue outside bankruptcy.