His stint as the Formula One driver was not free of highs and lows