Higher risk doesn't mean that every baby who is on formula milk gets these diseases.
Also, if breast milk not available, formula milk is advised, it is made up of artifical milk that is itself made up of cow milk.
Direct cow milk can be harmful sometimes to the babies before 6 months of child, but one can use it in correct dilution.
Health Tips
You can also visit a child specialist for adequate lactation management and appropriate weight gain signs in the baby even without having breastfeeding.