Strong winds have caused power outages to homes and businesses in New South Wales and disruption at Sydney Airport.