The contract manufacturer is seeking higher margins by making electronics components like camera modules, while deepening its smartphone and laptop production