Tesla has been one of the largest beneficiaries of the boom in retail investing amid this year’s pandemic lockdowns.