AI software stocks surge 15% as sector posts best month since 2001