The provisions of this chapter shall apply to all railroads and railways and to the corporations, trustees, receivers or others owning or operating them.