Jim Cramer said strong earnings from companies including Tesla and United Rentals drove Thursday’s rally.