Both Toyota and Daimler did and collaborated on tech actually. The Tesla stock they once owned would have been worth more than their current respective market caps.
Tesla, Mercedes pair up to create a mainstream EV with 115-mile range (B-Class)
https://www.extremetech.com/extreme/153888-tesla-mercedes-pa...
https://www.tesla.com/blog/strategic-partnership-daimler-acq...
Toyota Unveils 'RAV4 EV' Jointly Developed with Tesla