As Japanese automakers slow production, Thailand is banking on investment from China to build up its EV manufacturing base.