Global sales of smartwatches have fallen for the first time, in large part due to a sharp decline in the popularity of Apple.