Tesla Inc. shares were holding on to small gains a day after the company held its much-anticipated AI Day, which included the surprise reveal of a human-shaped robot one analyst called “an absolute head scratcher.”