President Donald Trump bought a Tesla in front of the White House driveway as he showed support for Elon Musk's electric automaker.