A powerful typhoon swept across Okinawa on Tuesday, as residents took refuge from destructive winds, towering waves and storm surges.