Nutanix Inc. shares rose in the extended session Wednesday as the hyperconverged-infrastructure company’s quarterly results and outlook exceeded Wall Street expectations.