TOKYO (Reuters) - Toyota Motor Corp said on Friday it planned to take a 5 percent share of smaller Japanese rival Mazda Motor Corp, as part of an alliance that will see the two build a $1.6 billion U.S. assembly plant and work together on electric vehicles.