Mattel plans to unveil the company’s first brick model set in a matter of weeks, a move seen as a direct step to challenge Lego’s supremacy in that toy segment.