After a strong quarter powered by AI and its mainframe business, the technology giant's stock has surged, forcing a hard look at whether its strategic pivot is truly paying off.