The Nasdaq hit an all-time high on Wednesday, helped by a boost from Tesla's shares, with investors cheering data showing…