Tech giant’s first stock offering in more than two decades gets strong demand as investors shrug off huge investment plans