Technical installation of railways and railcars to ensure safe operation in the event of human failure