DETROIT — Ford Motor Co. on Wednesday posted its highest first-quarter net income in a decade but said it could lose half of planned production in the second quarter because of the semiconductor shortage that has halted some high-profit assembly lines.