Real estate investor Robert Rivani was planning to list the five-bedroom Malibu mansion this spring for $40 million.