The federal and Quebec governments are spending close to $100 million to boost the country’s manufacturing capacity for semiconductors, which are vital in technologies ranging from artificial intelligence to quantum computing.