The Taiwanese technology giant says it will invest up to $170m in Ohio-based Lordstown Motors.