Apple’s R&D spending looks a lot like a car company’s