Charles Schwab Corp. plans to cut $500 million in expenses over the next 18 months in a move that includes closing and reducing the size of some of its offices across the United States after completing the integration of one-time rival TD Ameritrade.