Automatic line for the production of small and medium ball bearings