Alphabet unit Google, Meta and other large online platforms will have to do more to tackle illegal content or risk hefty fines under new internet rules agreed between European Union countries and EU lawmakers on Saturday.