Focusing system comprising acousto-optic deflectors for focusing an electromagnetic beam (AOD)