Professors do not become rich from their salary either. They are the only civil servants who are allowed to generate income from secondary employment without restrictions. That is how the money is made.
You just become a lecturer at a university. They like to take people from practice. Half of our lecturers worked in companies. Some of them even earned quite a nice income from it.