Extreme states of matter on the Earth and in the cosmos: is there any chemistry beyond the megabar?