Elon Musk and Grimes have broken up after three years together.