Suppose, for contradiction, that no such δ exists: for every real number δ>0 there is x∈K such that the inclusion Bd(x,δ)⊆Ui fails for every i∈I.
By Existence of a Sequence of Positive Real Numbers with Limit Zero fix a sequence (hk)k∈N of real numbers with 0<hk for every k∈N and with limit 0.
Step 1 (a bad point for each index). For k∈N put
Ak={x∈K: for every i∈I, the inclusion Bd(x,hk)⊆Ui fails}.
Each Ak is a subset of X, and applying the contradiction hypothesis with δ=hk shows Ak is nonempty. By Axiom of Countable Choice, applied to the family of subsets of X (Ak)k∈N, there is a sequence (xk)k∈N in X with xk∈Ak for every k; in particular xk∈K.
Step 2 (a convergent subsequence). Since K is sequentially compact, Sequentially Compact Subset of a Metric Space provides x∈K and a strictly increasing sequence (nj)j∈N in N, in the sense of Subsequence of a Sequence in a Set, such that (xnj)j∈N converges to x in (X,d).
Step 3 (a ball around the limit). Since (Ui)i∈I covers K and x∈K, there is i0∈I with x∈Ui0. As Ui0 is open in (X,d), Open Subset of a Metric Space provides a real number r>0 with Bd(x,r)⊆Ui0. By claim 8 of Elementary Order Arithmetic in an Ordered Field, 0<r⋅2−1 and r⋅2−1+r⋅2−1=r.
Step 4 (choosing an index j). By Convergent Sequence in a Metric Space there is J1∈N such that d(xnj,x)<r⋅2−1 for every j∈N with J1≤j. Since (hk)k∈N has limit 0, Limit of a Sequence of Real Numbers provides J2∈N with ∣hk−0∣<r⋅2−1 for every k with J2≤k; by claim 4 of Additive Cancellation and Elementary Additive Identities in a Field we have hk−0=hk, and since 0<hk the absolute value satisfies ∣hk∣=hk, so hk<r⋅2−1 for every such k.
By claims 1, 2, and 3 of Properties of the Order on the Natural Numbers, the order on N is a total order. Let j be the maximum of J1 and J2; by claim 1 of Elementary Properties of the Maximum of Two Elements, J1≤j and J2≤j. By Strictly Increasing Sequences of Natural Numbers Dominate Their Index, j≤nj, so J2≤nj by transitivity. Consequently
d(xnj,x)<r⋅2−1andhnj<r⋅2−1.
Step 5 (contradiction). We claim Bd(xnj,hnj)⊆Bd(x,r). Let y∈Bd(xnj,hnj), so d(xnj,y)<hnj by Open Ball in a Metric Space; with hnj<r⋅2−1 and transitivity of <, which is claim 2 of Elementary Order Arithmetic in an Ordered Field, this gives d(xnj,y)<r⋅2−1. By the symmetry axiom of a metric, d(x,xnj)=d(xnj,x)<r⋅2−1. Adding the two strict inequalities by claim 3 of Elementary Order Arithmetic in an Ordered Field,
d(x,xnj)+d(xnj,y)<r⋅2−1+r⋅2−1=r,
and the triangle inequality axiom of a metric gives d(x,y)≤d(x,xnj)+d(xnj,y), so d(x,y)<r by claim 2 of that lemma. Hence y∈Bd(x,r), proving the claim.
Therefore Bd(xnj,hnj)⊆Bd(x,r)⊆Ui0. On the other hand xnj∈Anj, so by the definition of Anj the inclusion Bd(xnj,hnj)⊆Ui fails for every i∈I, and in particular for i=i0. This contradiction proves the lemma.