All it takes is a few tribes here and there after the mass kill. Humanity will still be here. But, so what? We won't all die even if that is your wish. It will be a slightly more sophisticated than hunter/gatherers society.