Former British tech star depicted as scam artist, visionary in trial about HP's disastrous 2011 deal