Peloton Interactive Inc. notched its first-ever quarter with revenue above $1 billion, but its shares sank in after-hours trading after the company’s investments in shipping and other areas meant to address delivery delays weighed on its earnings outlook for the current period.