Value of Elon Musk’s firm at one point rose to $2.97tn just days after its IPO following purchase of AI coding startup Cursor