Modi said the U.S. and India would work together on artificial intelligence and semiconductors and focus on establishing strong supply chains for strategic minerals.