BHP Billiton warns as profits slump