Located between Marrakech and Casablanca, the Mohammed VI Polytechnic University is trying to replicate the recipes that have made the United States’ Silicon Valley successful, fusing research and business — with special attention given to green energies and food sovereignty.