Welcome and thank you for your question. I'll do my best to provide an informative answer. Please let me know if you need any clarification.
If the contractor is a corporation (i.e. XYZ, Inc., or XYZ Corp., etc.) then no, you do not need to issue a 1099 and the W-9 would not be necessary. And yes, you can still deduct the repair costs for the rental property. Just keep all of the invoices and/or receipts to support your deduction.
Per the 1099 instructions, there are a few circumstances that would require a 1099 for a corporation. They are as follows:
Reportable payments to corporations. The following payments made to corporations generally must be reported on Form 1099-MISC.
Medical and health care payments reported in box 6.
Fish purchases for cash reported in box 7.
Attorneys' fees reported in box 7.
Gross proceeds paid to an attorney reported in box 14.
Substitute payments in lieu of dividends or tax-exempt interest reported in box 8.
Payments by a federal executive agency for services (vendors) reported in box 7.
Here is a link to the instructions for your reference:
I hope this helps and please let me know if you need further assistance.