Musk says EU offered him ‘illegal’ deal as bloc targets social network X