Locomotives or motor railcars with two or more different kinds or types of engines, e.g. steam and IC engines