Typhoon Koinu knocks out power to thousands of homes as it grazes the southern edge of Taiwan, lashing the island with record-strength winds.