Fastly Inc. shares fell in after-hours trading Wednesday following the cloud-software company's posting of a wider-than-expected loss for the quarter, and an announcement that the company was looking for a new chief executive for its next phase of growth.