The relation you cited holds for a single telescope. But, as also noted in the lecture you linked
"One thing that is possible in radio astronomy is to use interferometry, which combines the signals from an array of antennas as if they were all part of the same aperture. That means that the resolving power of a radio telescope is not just what it would be for each antenna alone, but is as for a single telescope the size of the separation between antennas."
This basically means you use multiple telescopes - which in case of radio astronomy are called antennas for historical reasons - and combine their measurements into a single one. To get an intuition of how big of arrays we are talking about, google images of ALMA, LOFAR (which has stations in several countries) or SKA.
In principle other wavelengths, such as optical, can also be observed using interferometry, but it is technically much more complicated to build such instruments. On top of that, optical light is the one most affected by the atmosphere and it is hard enough to take it into account for one telescope, combining such effects to create an image from multiple ones is a very daunting task.