Canada's Milos Raonic has won the San Jose Open for the third year in succession, becoming the first man in the open era to do so.