Monsoon rain has lashed Pakistan's port city of Karachi while flooding has triggered power outages and overwhelmed the city's fragile infrastructure.