Credit card transactions and banking payments are governed by Federal Reserve regulations which impose a strict limit on customer losses when theft occurs. There isn't the same in place today protecting brokerage accounts from hackers.
Some brokers though offer cc-style guarantees on their own. Who knows whether they'll continue if incidences keep rising. Hopefully, some day regulations will materialize in this area to protect everyone.