Magnetoresistive hybrid transistor in vertical architecture