Technically a bank is a much larger shareholder (https://www.mazda.com/en/investors/stockinfo/situation/), but Mazda and Toyota have been collaborating for a long time with joint manufacturing (https://en.wikipedia.org/wiki/Mazda_Toyota_Manufacturing_USA) and technology sharing. Toyota has similar arrangements with other companies like Subaru and Suzuki.