WASHINGTON — Elon Musk leaves Trump administration after turbulent effort to slash government, AP source says.