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