Most-populous state of New South Wales battling bushfires fuelled by drought and extreme heat, shrouding Sydney in smog.