U.S. factory production rose slightly in February, with gains in motor vehicle manufacturing offset by weakness in machinery production, according to data released on Monday.