Toyota said Wednesday it will build an electric vehicle plant in Shanghai for its luxury Lexus brand as it raised its annual net profit forecast to almost $30 billion.