SAN FRANCISCO (AP) — Tesla CEO Elon Musk, company to pay $40 million to settle SEC case alleging Musk duped investors.