For the purposes mentioned in § 65-6-117, authority is granted to such railroad companies to acquire by purchase, and to hold such real estate as may be necessary.