Cash strategies may seem safe, but inflation can bite into returns. Instead, investors can try to outperform inflation with equities.