When any company takes land for railroad purposes and the effect of such taking is to cut off other land from practical access to the highway, such company may, with the approval of the Commissioner of Transportation, take additional land sufficient for a convenient way from the land so cut off to the highway and shall provide for the use of the owner of the land cut off a suitable way over such additional land to the highway. Such way shall remain a private way for the use of the owner of the land cut off and the town or city in which it is situated shall not be liable for its maintenance or responsible for its defects. For the purposes of this section, lands may be acquired in the manner provided by law for the taking of land by railroad companies.