A blaze that started in a Sydney restaurant is now threatening homes after high winds and scorching temperatures spread flames.