A huge internet outage has hit dozens of websites with banks, phone companies and major retailers among those affected.