Some investor groups in the U.S. and Europe sought Toyoda’s ouster over his stance on electric vehicles.