Wheat threshing machine with diesel engine and electric motor