Unprovoked attacks by sharks declined worldwide in 2024, according to new figures.