Tech billionaire Elon Musk said Monday that his brain-science startup company, Neuralink, had implanted a device in a human for the first time, a possible step toward a product that he said would allow people to control almost any external device “just by thinking.”