The European Commission has hit the world's largest maker of generic drugs with a €462.6 million fine for breaching the bloc's competition rules.