The Consumer Financial Protection Bureau Monday completed its rule establishing a nationwide database for a wide swath of financial companies — including payments companies, debt collectors, auto lenders — that have faced regulatory or legal penalties for consumer-related infractions.