Court filings and FBI investigations reveal alleged payments and influence by contractors to sway election outcomes and secure lucrative city contracts.