The boss of the rail company involved in Monday's fatal train crash says the firm must make sure "nothing like it happens again".