Elon Musk in court over Tesla pay that made him the world's richest man