A 26-year-old swimmer off Cape Cod was killed by a shark in view of horrified beachgoers in first fatal shark attack in Massachusetts in over 80 years.