Elon Musk appears in court amid ongoing custody dispute with Grimes