Tesla shares rose 33% to close their best week since May 2013, boosted by positive economic data and an earnings beat.