Opportunities and challenges for medical imaging AI: lessons from radiology, ophthalmology, and oncology