Bill Gross, who built Pimco into a $2 trillion asset manager and became one of the world’s best-known bond investors, quit the firm he co-founded on Friday after his flagship fund suffered its 16th straight month of outflows and amid a Securities and Exchange Commission probe into whether one of his funds artificially inflated returns.