There were chaotic scenes in Sydney’s southwest as residents were forced to flee their homes in the middle of the night.