Why does this diameter tend to zero?

Solution 1:

Suppose otherwise. Then you'll have pairs of points which are very close to one another such the distances between their images is greater than a certain (fixed) distance. This goes against uniform continuity.