Pinterest Inc. missed expectations for earnings and guided for revenue lower than analysts expected in the current quarter, but shares still spiked in after-hours trading as users stuck around in a quarter that led to sudden change and attracted an activist investor.