Tesla reported a jump in second-quarter profits Wednesday as a series of price cuts translated into sharply higher car sales.