Medical patents involve a lot of money invested into making the drug, ex. producing new chemicals, laboratory equipment costs, huge salaries for scientists in R&D, etc. Patents are one of the best ways to "earn back".
Why a cancer drug? Why not? There are lots of companies fighting for this huge market, and if you're the first to have invented a medicine, you would like to be rewarded, isn't it?