Intel Corp. and the German government have agreed to a $33 billion plan to build two semiconductor facilities in Magdeburg, the company announced Monday.