I think there was a time when Apple would've made a lot of sense. They have the money, and they have ambitions in the automotive area. Apple buing Tesla feels about as appropriate as Apple buying Beats by Dr. Dre, IMO.
.. However, I think Elon has made the Tesla brand so toxic to demographics which are important to Apple, so I don't think an acquisition makes sense anymore.
Apple buying Tesla seems as weird as Sony buying Mazda though. Apple is just not a car company — they're a consumer electronic company (that are, if anything, moving hard into services).
I think Apple has had aspirations to become a car company. There were all those years of rumours about the Apple car project, and they've done a lot of work with car companies for Car Play. Their latest iteration of Car Play aims to completely take over things everything including the instrument panel, if I understood correctly. I don't think Sony has similar ties to the car industry?
Heck, perhaps Tesla will be.