Pete Frates, the Beverly resident who inspired millions of people around the world to help fight a rare neurological disease, has died after battling the illness for seven years.