Oracle beats Q4 estimates, plunges 7% after hours on $40B plan