(Reuters) - BlackBerry Ltd and Chinese internet search firm Baidu Inc on Wednesday signed a deal to work jointly on developing self-driving vehicle technology, sending BlackBerry's Toronto-listed shares up 8 percent to an over four-year high.