An Apple Inc. self-driving car was rear-ended while merging onto an expressway near the company's Silicon Valley headquarters this month, the company said in an accident report posted on Friday that confirmed the iPhone maker is still in the race to build autonomous vehicles.