 Compass Inc. shares plummeted in after-hours trading Monday, after the real-estate brokerage and tech provider slashed its annual revenue guidance and revealed plans to cut costs due to a downturn in the housing market. 