Larry Ellison’s $1-billion Tesla bet is finally paying off after a wild ride