Islam allows studying and learning any useful knowledge in any science from non Muslims. The history of Muslims has lot of examples of non Muslim scientists in medicine and other worldly sciences who were active in Muslim society.
Muslims are not allowed to take religious knowledge from non Muslims.
Wassalam.