Tell the professor to teach about FOSS and to stay away from SaaS offerings. It is also ethically wrong to ask students to pay for a proprietary service as part of their university education
There is nothing ethically wrong with asking students to purchase proprietary services, but it is tone deaf to make them buy absurdly expensive software.