An outage affecting major systems that connect 19 countries on three continents has caused massive disruption to internet connectivity.