Toyota Motor Co plans to spend JPY50bn yen (US$500m) to build an engine factory in northern Japan as it continues to boost output to meet growing demand for fuel-efficient cars.