Any duly authorized and chartered railway corporation shall have the same power to condemn for its use lands owned by the state or in which the state has an interest that it has to condemn lands owned by an individual: Provided, however, That such lands are not used by the state for any of its institutions or for other public purposes.
K.S.A. 66-908