A bolt of lightning and severe weather hit Sydney causing power outages, downed trees, and service disruptions on train lines.