Apple says the Mac mini and Mac Studio may remain supply-constrained for months after stronger-than-expected demand caught the company off guard.