The highest inflation in 40 years has spurred more investors to search for assets that can help offset its bite.