A 28-year-old man was killed in a crocodile attack on a popular beach in Mexico on Friday evening, according to state authorities.