Toddler's murder 'devoid of humanity', court told