You can choose r such that the closed ball of radius r centered at x is contained in K. Therefore, this ball is compact. But as you noticed, we can't find any nonempty compact ball (since we can write a non empty ball as f(B), where B is the unit closed ball and f a continuous map).