If modifying the app as suggested in Material-UI NextJS examples did not help, you can lazy load your component. This way you will force it to create styles only after the client-side is loaded.
Guide to disable SSR for a component: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr
import dynamic from 'next/dynamic'
export const ComponentWithNoSSR = dynamic(() => import('./Component'), {
ssr: false,
})
However, keep in mind that the component will lose all perks of SSR.