Hopefully Tesla would never sell to Apple. I think Apple makes some good products, but I hate how closed their ecosystem is. Tesla has open sourced it's patents, which strongly goes against Apple's philosophy.
Not that I believe that Apple would ever consider buying Tesla, but if they did make an offer, it would not be up to Tesla but to its shareholders to accept or reject the deal.