Extreme matter in electromagnetic fields and rotation